qt5/gtk integration needs to disable overlay-scrollbars since they create issues

Bug #1531516 reported by Doug McMahon
36
This bug affects 7 people
Affects Status Importance Assigned to Milestone
overlay-scrollbar (Ubuntu)
Invalid
High
Unassigned
qtbase-opensource-src (Ubuntu)
Fix Released
High
Timo Jyrinki

Bug Description

Similar to past issues seen in Bug 1005677 & Bug 805303
Test case: open vlc > any menu item, window will be way too long hortizontally & will hang
Ex. -
xwininfo -all

xwininfo: Please select the window about which you
          would like information by clicking the
          mouse in that window.

xwininfo: Window id: 0x3a0000f "Open Media"

  Root window id: 0xd4 (the root window) (has no name)
  Parent window id: 0x1016ca3 (has no name)
     0 children.

  Absolute upper-left X: 59
  Absolute upper-left Y: 366
  Relative upper-left X: 0
  Relative upper-left Y: 0
  Width: 16383
  Height: 404
  Depth: 24
  Visual: 0xb1
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x3a0000c (not installed)
  Bit Gravity State: ForgetGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners: +59+366 --14522+366 --14522-310 +59-310
  -geometry 16383x404+59+366

  Bit gravity: ForgetGravity
  Window gravity: NorthWestGravity
  Backing-store hint: NotUseful
  Backing-planes to be preserved: 0xffffffff
  Backing pixel: 0
  Save-unders: No

  Someone wants these events:
      KeyPress
      KeyRelease
      ButtonPress
      ButtonRelease
      EnterWindow
      LeaveWindow
      PointerMotion
      ButtonMotion
      Exposure
      StructureNotify
      FocusChange
      PropertyChange
  Do not propagate these events:
  Override redirection?: No

  Window manager hints:
      Client accepts input or input focus: Yes
      Initial state is Normal State
      Displayed on desktop 0
      Window type:
          Dialog
          Normal
      Window state:
          Modal
      Process id: 305
      Frame extents: 0, 0, 28, 0

  Normal window size hints:
      User supplied location: 59, 338
      User supplied size: 524309 by 404
      Program supplied minimum size: 16383 by 404
      Program supplied maximum size: 900 by 16383
      Program supplied window gravity: StaticGravity
  No zoom window size hints defined

  No window shape defined
  No border shape defined

If the overlay-scrollbar packages are removed menu windows open, vlc complains about module not able to be loaded & menus are not as accessible as they should be.
If vlc is opened with export LIBOVERLAY_SCROLLBAR=0 && vlc then all is well.
As I understand overlay-scrollbars is not going to be used or something like that, hence yet again starting bug on vlc though other packages like calibre may be affected & or the cause

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: vlc 2.2.1-5
ProcVersionSignature: Ubuntu 4.3.0-2.11-generic 4.3.0
Uname: Linux 4.3.0-2-generic x86_64
ApportVersion: 2.19.3-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Jan 6 09:37:07 2016
InstallationDate: Installed on 2015-10-25 (72 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
SourcePackage: vlc
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Doug McMahon (mc3man) wrote :
Revision history for this message
Doug McMahon (mc3man) wrote :

For the moment affected vlc users can also edit vlc.desktop's Exec= line to this to restore expected results
Exec=env LIBOVERLAY_SCROLLBAR=0 vlc %U

affects: overlay-scrollbar → overlay-scrollbar (Ubuntu)
Kovid Goyal (kovid)
no longer affects: calibre
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in overlay-scrollbar (Ubuntu):
status: New → Confirmed
Changed in vlc (Ubuntu):
status: New → Confirmed
Changed in vlc (Ubuntu):
importance: Undecided → Medium
Changed in overlay-scrollbar (Ubuntu):
importance: Undecided → Medium
Revision history for this message
corrado venturini (corradoventu) wrote :

after update to kernel 4.4 problem on vlc seems solved in xenial-GNOME but remains in xenial-unity

Revision history for this message
fabianbur (fabianbur) wrote :

Still appears in calibre and vlc in ubuntu unit. Ubuntu gnome kernel 4.3 there is no problem.

Revision history for this message
fabianbur (fabianbur) wrote :

The problem persists and affects calibre and VLC. Today I did a clean install of ubuntu unity in a real machine, not virtual machine and the problem is the same.

Changed in overlay-scrollbar (Ubuntu):
importance: Medium → High
Revision history for this message
Damon Lynch (dlynch3) wrote :

I suspect it affects any Qt program that is not using the default Qt theme under Unity. It certainly affects my PyQt code.

Revision history for this message
Sebastien Bacher (seb128) wrote :

That's an issue with qtbase-opensource-src, the xenial update has

" * Remove disable_overlay_scrollbars.diff as overlay scrollbars were dropped."

That's still needed though, they were not removed from gtk2 and the issue ... Timo, can you fix that in the next upload?

Changed in overlay-scrollbar (Ubuntu):
status: Confirmed → Invalid
affects: vlc (Ubuntu) → qtbase-opensource-src (Ubuntu)
Changed in qtbase-opensource-src (Ubuntu):
assignee: nobody → miRv (mirv)
importance: Medium → High
assignee: miRv (mirv) → Timo Jyrinki (timo-jyrinki)
summary: - Overlay scrollbars causes menu windows to be vastly oversized & unusable
+ qt5/gtk integration needs to disable overlay-scrollbars since they
+ create issues
tags: added: rls-x-incoming
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Yes, that patch needs to be restored until Qt 5.7 (where QGtkStyle was removed).

Revision history for this message
fabianbur (fabianbur) wrote :

I do not understand what raises Sebastien Bacher (seb128) it may be because my language is Spanish.

I have Xenial developing right now and so far this error is not corrected.

Xenial that is corrected is not true.

To be corrected in the future, hopefully, but only two months away and that mistake and I have reported several times.

I do not see is someone from team of Ubuntu assigned for resolution either.

Changed in overlay-scrollbar (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

I can look at this tomorrow, or feel free to just upload ubuntu3 right now with it included, I've nothing in queue at the moment as 5.5.1+dfsg-13ubuntu2 landed today.

It's available in plain text at http://anonscm.debian.org/cgit/pkg-kde/qt/qtbase.git/plain/debian/patches/disable_overlay_scrollbars.diff?h=ubuntu&id=2cb8fc806fbb27ba3f2d2c4514ce7bc08d0be628

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

@fabianbur: it was marked as such because the bug is not in "overlay-scrollbar" package, but in "qtbase-opensource-src" instead. It will get handled latest tomorrow although the automatic QA will take an additional day or two.

Changed in overlay-scrollbar (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
fabianbur (fabianbur) wrote :

Thank you. I can say in honor wing true that this command is arranged:
gsettings set com.canonical.desktop.interface scrollbar-mode normal

And with this command fails again:
gsettings set com.canonical.desktop.interface scrollbar-mode overlay-auto

So I guess there is a reference to overlay scrollbar.

I am glad that the subject is rather channel the bug to a solution. Sorry if I misunderstood. But I have seen other bugs that are marked as invalid saying they do not exist when I have reported and there, I have not invented. Or someone called upgrade packages when these are updated.

Calibre and VLC are two of the programs that I use and I am glad that soon they are fully operational.

Changed in qtbase-opensource-src (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtbase-opensource-src - 5.5.1+dfsg-13ubuntu3

---------------
qtbase-opensource-src (5.5.1+dfsg-13ubuntu3) xenial; urgency=medium

  * Add back disable_overlay_scrollbars.diff, needed until Qt 5.7 for GTK2.
    (LP: #1531516)

 -- Timo Jyrinki <email address hidden> Tue, 16 Feb 2016 06:27:42 +0000

Changed in qtbase-opensource-src (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
fabianbur (fabianbur) wrote :

Dear @Timo Jyrinki I just did the upgrade but the problem is at the same. Please confirm if this package is not yet ready for downloading in an apt update apt dist upgrade what they have done.

The system does not allow me to confirm the bug again. But I can confirm in this way is the same. I updated Ubuntu 16.04 this time.

Revision history for this message
fabianbur (fabianbur) wrote :

Update:

I confirm that after a new sudo apt update && sudo apt -y dist-upgrade
at this time the problem has been corrected in both Calibre and VLC.

However the behavior to change the window size is still strange Calibre: there is a drag, as if the screen redraw it did in a very low refresh rate of the screen. You could send a video of the behavior if I tell which direction.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.