Page 1 of 2

VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Posted: 04 Dec 2018 17:39
by Slobodan
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

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Posted: 04 Dec 2018 20:44
by Rémi Denis-Courmont
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.

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Posted: 05 Dec 2018 16:31
by Slobodan
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.

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Posted: 05 Dec 2018 17:36
by Rémi Denis-Courmont
So it's a problem between Qt and Unity, neither of which are part of VLC... Complain to Ubuntu.

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Posted: 05 Dec 2018 19:32
by Slobodan
OK.

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Posted: 15 Dec 2018 23:49
by mc4man
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.

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Posted: 16 Dec 2018 20:17
by Rémi Denis-Courmont
If it's between 3.0.3 and 3.0.4, it should be easy to bisect to a specific commit.

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Posted: 18 Dec 2018 22:33
by bunt
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....

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Posted: 24 Dec 2018 19:44
by sebasarena
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:

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Posted: 24 Dec 2018 19:52
by sebasarena
And If you can't do anything with the issue, can you tell me how to downgrade VLC to a previous version?

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Posted: 25 Dec 2018 14:26
by Rémi Denis-Courmont
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.

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Posted: 05 Jan 2019 06:58
by johnsmith
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;

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Posted: 05 Jan 2019 16:55
by SimPune
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

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Posted: 30 Jan 2019 11:12
by DeathIncarnate
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?

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Posted: 30 Jan 2019 13:57
by johnsmith
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.

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Posted: 30 Jan 2019 19:54
by Rémi Denis-Courmont
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.

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Posted: 30 Jan 2019 21:20
by DeathIncarnate
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.

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Posted: 26 Feb 2019 22:06
by yusufbolu
I had the same problem in LinuxMint 19.1 Mate edition. I downgraded VLC to 3.0.3 from Synaptic and the problem gone.

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Posted: 02 Mar 2019 08:46
by Samsonthebrave
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 ?

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Posted: 03 Jun 2019 02:21
by pioutw
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

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Posted: 03 Jun 2019 02:46
by pioutw
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)

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Posted: 03 Jun 2019 06:29
by Samsonthebrave
And, unfortunately, Compiz is maybe the best way to have no more tearing in LinuxMint...

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Posted: 04 Oct 2019 22:00
by dj--alex
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

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Posted: 04 Oct 2019 22:14
by Rémi Denis-Courmont
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.

Re: VLC 3.0.4 fullscreen bug (Ubuntu 18.04)

Posted: 05 Oct 2019 08:11
by dj--alex
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?