VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

*nix specific usage questions
Slobodan
New Cone
New Cone
Posts: 3
Joined: 04 Aug 2017 17:02

VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Postby Slobodan » 04 Dec 2018 17:39

Ever since the last update, I have this problem. I am using Ubuntu 18.04. In fullscreen, besides the video, VLC also shows Unity launcher (side bar) and the Ubuntu top bar (see the screenshot).

If I left click on the video, the bars disappear. But when I change the audio volume or pause the video, or move the mouse cursor, they reappear.

I have tried uninstalling VLC and installing it again, but the problem remains.

My specs are:

HP G5 255 (laptop)
15,6 inch 1080p display
AMD A6-7310 APU with AMD Radeon R4 Graphics × 4 (1 GB allocated to iGPU)
Gallium 0.4 on AMD MULLINS (DRM 2.50.0 / 4.15.0-39-generic, LLVM 6.0.0), Mesa 18.0.5
12 GB DDR3L 1600 MHz (4 + 8 GB)
Ubuntu 18.04 64-bit

Screenshot: https://i.postimg.cc/mD3SJCL5/VLC-full-screen-bug.png

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Postby Rémi Denis-Courmont » 04 Dec 2018 20:44

Does it happen if you disable embedded video in VLC? That looks like a bug in Unity, to be honest. VLC cannot prevent the window manager doing it wrong.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Slobodan
New Cone
New Cone
Posts: 3
Joined: 04 Aug 2017 17:02

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Postby Slobodan » 05 Dec 2018 16:31

You mean settings - interface - integrate video in the interface? That way it opens a blank VLC window and another window with a video but without any interface. That way, in full screen, the Unity bars are not shown, but I can not use mouse to skip the video or anything.

I have tried resetting to default settings, but still the same. Also, fullscreen video device - automatic or eDP, same.

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Postby Rémi Denis-Courmont » 05 Dec 2018 17:36

So it's a problem between Qt and Unity, neither of which are part of VLC... Complain to Ubuntu.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Slobodan
New Cone
New Cone
Posts: 3
Joined: 04 Aug 2017 17:02

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Postby Slobodan » 05 Dec 2018 19:32

OK.

mc4man
Blank Cone
Blank Cone
Posts: 11
Joined: 20 Dec 2012 17:19

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Postby mc4man » 15 Dec 2018 23:49

Actually it was caused by some commit to vlc between 3.0.3 & 3.0.4. Doubt you'll ever see any resolution to this..
(- it's caused solely by the showing of the fullscreen controller, whatever changes to how that's done contains the cause.

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Postby Rémi Denis-Courmont » 16 Dec 2018 20:17

If it's between 3.0.3 and 3.0.4, it should be easy to bisect to a specific commit.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

bunt
New Cone
New Cone
Posts: 3
Joined: 28 Feb 2014 18:55

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Postby bunt » 18 Dec 2018 22:33

I'm not on Ubuntu but on Debian Buster.
In VLC 3.0.4 I lost the fullscreen controller.
I'm pretty sure that this is caused by commit ee8c6e5d79 (2018-07-16) but I'm not a QT expert....

sebasarena
New Cone
New Cone
Posts: 2
Joined: 24 Dec 2018 19:25

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Postby sebasarena » 24 Dec 2018 19:44

I have the same issue in Ubuntu MATE, so the problem doesn't happen in Unity only. :(

Someone else it's also in the same circumstances: https://askubuntu.com/questions/1100966 ... h-work-vlc

Please help us :cry:

sebasarena
New Cone
New Cone
Posts: 2
Joined: 24 Dec 2018 19:25

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Postby sebasarena » 24 Dec 2018 19:52

And If you can't do anything with the issue, can you tell me how to downgrade VLC to a previous version?

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Postby Rémi Denis-Courmont » 25 Dec 2018 14:26

Try vlc- --no-embedded-video

As this appears to be an issue between your versions of Qt and the window manager, it's not as such a matter of downgrading VLC.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

johnsmith
New Cone
New Cone
Posts: 2
Joined: 05 Jan 2019 06:44

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Postby johnsmith » 05 Jan 2019 06:58

Are we sure this isn't a vlc bug? I have tracked the problem down to the below commit:

Changing the line in modules/gui/qt/components/controller.cpp:
from
+ setWindowFlags( Qt::Tool | Qt::FramelessWindowHint );
to
+ setWindowFlags( Qt::ToolTip | Qt::FramelessWindowHint );

seems to fix it for me. I also am not familiar with qt and so do not understand the difference between a Tool and a ToolTip is this change necessary?

Mon Jul 16 2018
Filip Roséen <filip@atch.se>
gui: qt: prevent fullscreen controller from stealing focus
d60312d3ad4c4e27f3455b4f579999b826d3948c

A widget will (per default) receive focus when it is displayed,
something which is not ideal for our fullscreen controller (as it may
result in VLC grabbing focus from whatever window the user is actually
interested in at the time).

fixes #8712

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>

diff --git a/modules/gui/qt/components/controller.cpp b/modules/gui/qt/components/controller.cpp
index 04926a2df2..254ded051f 100644
--- a/modules/gui/qt/components/controller.cpp
+++ b/modules/gui/qt/components/controller.cpp
@@ -806,7 +806,8 @@ FullscreenControllerWidget::FullscreenControllerWidget( intf_thread_t *_p_i, QWi

vout.clear();

- setWindowFlags( Qt::ToolTip );
+ setWindowFlags( Qt::Tool | Qt::FramelessWindowHint );
+ setAttribute( Qt::WA_ShowWithoutActivating );
setMinimumWidth( FSC_WIDTH );
isWideFSC = false;

SimPune
Blank Cone
Blank Cone
Posts: 10
Joined: 25 Dec 2018 18:43

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Postby SimPune » 05 Jan 2019 16:55

Ever since the last VLC update, I have this problem. I am using Ubuntu 18.04. In fullscreen, besides the video, VLC also shows Unity launcher (side bar) and the Ubuntu top bar (see the screenshot).

If I left click on the video, the bars disappear. But when I change the audio volume or pause the video, or move the mouse cursor, they reappear.

I have tried uninstalling VLC and installing it again, but the problem remains.

My specs are:

HP G5 255 (laptop) 15,6 inch 1080p display AMD A6-7310 APU with AMD Radeon R4 Graphics × 4 (1 GB allocated to iGPU) Gallium 0.4 on AMD MULLINS (DRM 2.50.0 / 4.15.0-39-generic, LLVM 6.0.0), Mesa 18.0.5 12 GB DDR3L 1600 MHz (4 + 8 GB) Ubuntu 18.04 64-bit, Unity 7

DeathIncarnate
New Cone
New Cone
Posts: 2
Joined: 30 Jan 2019 10:36

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Postby DeathIncarnate » 30 Jan 2019 11:12

Rémi Denis-Courmont, help us! First you blamed Unity for this issue, then you blamed something between Qt and Unity. But evidence is now mounting to the contrary. I am using Ubuntu MATE 18.04, not Unity, and still have the same issue (as does sebasarena above). You've challenged us to bisect to find a specific VLC commit that caused the problem, and johnsmith has done so. Can you fix the problem now? Or do we also need to give you a cape so you can fly? What else do you require?

johnsmith
New Cone
New Cone
Posts: 2
Joined: 05 Jan 2019 06:44

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Postby johnsmith » 30 Jan 2019 13:57

I too am using Ubuntu MATE 18.04 and now believe the bug is related to a bug in compiz. If I change to one of the other window managers eg. Macro (Composition GPU) I don't see the fullscreen error.

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Postby Rémi Denis-Courmont » 30 Jan 2019 19:54

As far as I can tell, the patch from Filip is correct. To me, it seems that the problem is either Qt misinterpreting its own flags, or then MATE not handling whatever Qt does.

At least, I cannot see any problem with KDE... so that looks like a problem either in MATE or in the Gtk backend of Qt.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

DeathIncarnate
New Cone
New Cone
Posts: 2
Joined: 30 Jan 2019 10:36

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Postby DeathIncarnate » 30 Jan 2019 21:20

I too am using Ubuntu MATE 18.04 and now believe the bug is related to a bug in compiz. If I change to one of the other window managers eg. Macro (Composition GPU) I don't see the fullscreen error.

I am getting the same result: VLC fullscreen bug occurs only when I use the Compiz window manager. With the other window managers there is no such problem. So the root cause must be an incompatibility between VLC and Compiz.

yusufbolu
New Cone
New Cone
Posts: 1
Joined: 26 Feb 2019 21:57

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Postby yusufbolu » 26 Feb 2019 22:06

I had the same problem in LinuxMint 19.1 Mate edition. I downgraded VLC to 3.0.3 from Synaptic and the problem gone.

Samsonthebrave
New Cone
New Cone
Posts: 5
Joined: 02 Mar 2019 08:33

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Postby Samsonthebrave » 02 Mar 2019 08:46

Hi everyone,
I Use LM 19.1 with MATE 1.20 and Compiz


With VLC 3.0.4 : same problem : when VLC is in fullscreen, by moving the mouse to display the navigation bar, the dashboards appears over the video.
With VLC 3.0.3 : no problem

So, when using another version of VLC, the problem is solved.
IMHO, if I change only one thing to a problem, and then the problem is solved, it is because it is that thing that caused the error. No ?

pioutw
New Cone
New Cone
Posts: 2
Joined: 29 May 2019 08:25

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Postby pioutw » 03 Jun 2019 02:21

same problem for me, tested on 4 different computers with 3.0.4 on Linux Mint 19.1 Mate & Cinnamon with marco+composition as window manager

downgrade to 3.0.3 resolve the issue
use marco without compositing resolve the issue too

never seen such a big bug in VLC (the best multimedia player ever

pioutw
New Cone
New Cone
Posts: 2
Joined: 29 May 2019 08:25

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Postby pioutw » 03 Jun 2019 02:46

other tests:
metacity+composition > no bug
metacity > no bug
metacity+compton > no bug
compiz > other bug > fullscrenn ok if I don't mouve the mouse, if I mouve it my panels appears and don't go (I have 2 fixed panels : up & left)

Samsonthebrave
New Cone
New Cone
Posts: 5
Joined: 02 Mar 2019 08:33

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Postby Samsonthebrave » 03 Jun 2019 06:29

And, unfortunately, Compiz is maybe the best way to have no more tearing in LinuxMint...

dj--alex
New Cone
New Cone
Posts: 2
Joined: 04 Oct 2019 21:55

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Postby dj--alex » 04 Oct 2019 22:00

Im waiting 6 monthm
Still cannot PAUSE in any video on VLC in fullscreen mode

focus leaves video after 1-2 seconds after start

DE - always Mate desktop (only Marco using)
No use compiz. never.

i trying VLC 2.2, 3.0.4, 3.0.6, 3.0.8 ... no effect
I trying nvidia 403,415,418, 430,435 - no nvidia (nouveau ) _ no effect
I update from mint 18,2 x64 to 19 x64 , to 19.2 x64 - no effect.
I change linux kernel to 5.0, 5.1, 5.2 , 5.3 and rc - no effects.

always NO EFFECT.
people from my Linux group in social network talks vlc is bad player and select something other.
too many people stucks with this bug

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Postby Rémi Denis-Courmont » 04 Oct 2019 22:14

As far as this thread went so far, the problem is not in the VLC code base, so there's little that complaining to or shaming VLC devs will achieve.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

dj--alex
New Cone
New Cone
Posts: 2
Joined: 04 Oct 2019 21:55

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Postby dj--alex » 05 Oct 2019 08:11

i found temporary fix
compiz --replace
- temporary FIX problem but main compozite manager is Marco , not compiz.

metacity has this problem.

Ok. what i must to do to solve this problem? Im really interest to fix it.
I love using VLC on Linux and android. and i still using it

and how named adress to send bug report? which project developer?


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot] and 9 guests