You are not logged in.

#1 2018-08-26 14:55:07

Enverex
Member
From: UK
Registered: 2007-06-13
Posts: 159
Website

All QT5 Applications Open as Massive Empty Windows

I'm not sure what's causing it or exactly when it started, but it must have been within the last few weeks at most.

I tried opening VLC yesterday only to be faced with a massive grey window that I couldn't even find the edges of. I assumed it was an issue with VLC and thought no more of it. I opened Dolphin-Emu today (built from GIT) and ran into the same problem. Gigantic window that appears to be devoid of any content.

Running some command line software let me get a readout of the windows, and it appears that they're opening at the max virtual size of the desktop (16kx16k):

xwininfo: Window id: 0x1000006 "Dolphin [makepkg] 5.0-8625"
  Absolute upper-left X:  0
  Absolute upper-left Y:  23
  Relative upper-left X:  0
  Relative upper-left Y:  23
  Width: 16383
  Height: 11408
  Depth: 24
  Visual: 0x510
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x1000005 (installed)
  Bit Gravity State: NorthWestGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +0+23  --14463+23  --14463--10351  +0--10351
  -geometry 132x92+0+23


xwininfo: Window id: 0x1000006 "VLC media player"
  Absolute upper-left X:  -7192
  Absolute upper-left Y:  -535
  Relative upper-left X:  1
  Relative upper-left Y:  24
  Width: 16368
  Height: 16368
  Depth: 24
  Visual: 0x510
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x1000005 (installed)
  Bit Gravity State: NorthWestGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +-7192+-535  --7256+-535  --7256--14753  +-7192--14753
  -geometry 132x132+-7192+-535

I'm using Openbox as the window manager with no actual desktop environment (I've been using this setup for years without issue).

Anyone have any idea why this is happening?

Last edited by Enverex (2018-11-16 01:18:22)

Offline

#2 2018-08-26 16:14:18

LordChaos73
Member
From: .nl
Registered: 2008-11-11
Posts: 183

Re: All QT5 Applications Open as Massive Empty Windows

Could this be related to: https://bugs.kde.org/show_bug.cgi?id=395988 ?

Offline

#3 2018-08-26 16:43:56

Enverex
Member
From: UK
Registered: 2007-06-13
Posts: 159
Website

Re: All QT5 Applications Open as Massive Empty Windows

Could be. The two broken ones are ones I've opened before, but I installed Hydrogen purely to test after the issue had already occurred.

Offline

#4 2018-08-30 19:15:19

Enverex
Member
From: UK
Registered: 2007-06-13
Posts: 159
Website

Re: All QT5 Applications Open as Massive Empty Windows

Gah. I was working in something in Openshot (first time I've opened it and apparently also QT). Closed OpenShot, reopened it and now that's doing the same. Giant empty window devoid of anything except for a few small coloured blocks.

Does anyone know how to fix this?

Offline

#5 2018-08-30 19:27:03

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,381

Re: All QT5 Applications Open as Massive Empty Windows

This has apparently been wrong behaviour that was now fixed in QT but it seems many applications relied on this wrong behaviour, you should make a bug report to openshot, or if they already have a commit that fixes this you might be able to ask for a patch backport to the existing package.

Offline

#6 2018-08-30 19:31:06

Enverex
Member
From: UK
Registered: 2007-06-13
Posts: 159
Website

Re: All QT5 Applications Open as Massive Empty Windows

It appears to affect more software than not. e.g. VLC, OpenShot and Dolphin-Emu are all broken. The only QT program I've found that wasn't broken was Hydrogen.

What makes me reluctant to report it upstream is that I can't find a single instance of anyone else experiencing the same problem. Can anyone else actually replicate this? (doesn't happen the first time you open a program, only subsequent launches).

EDIT: Maybe be an Openbox issue. Just switched to Mate and the problem has gone away...

Last edited by Enverex (2018-08-30 19:34:40)

Offline

#7 2018-08-31 09:16:04

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,304

Re: All QT5 Applications Open as Massive Empty Windows

Enverex wrote:

Can anyone else actually replicate this? (doesn't happen the first time you open a program, only subsequent launches).

EDIT: Maybe be an Openbox issue. Just switched to Mate and the problem has gone away...

I don't see this here with vlc in openbox (I launched it several times).

Offline

#8 2018-08-31 15:13:58

whompus
Member
From: Durham. UK
Registered: 2005-08-09
Posts: 258

Re: All QT5 Applications Open as Massive Empty Windows

I don't see this with OpenShot in openbox either, as above I launched it several times.

Offline

#9 2018-09-07 12:24:06

Enverex
Member
From: UK
Registered: 2007-06-13
Posts: 159
Website

Re: All QT5 Applications Open as Massive Empty Windows

Looks like it was something in my OpenBox rc.xml file interfering. That file hasn't been changed for years (it was created when the machine was set up and hasn't been touched since) but it looks like possibly a legacy option in that file now breaks QT applications going forward.

So for anyone else that encounters this problem, try running OpenBox without your rc.xml file to check if that fixes it.

Offline

#10 2018-11-16 01:20:41

Enverex
Member
From: UK
Registered: 2007-06-13
Posts: 159
Website

Re: All QT5 Applications Open as Massive Empty Windows

Actually this magically started happening again a few weeks ago. Removing the rc.xml file doesn't help anymore.

Almost everything seems to be fine in MATE (instead of OpenBox) although I found one exception. If I try and run Yuzu in fullscreen, even in MATE it opens as a 16kx16k window.

Anyone have any idea what could possibly be doing this? It's only specifically QT5 applications that are doing it, but I see any reason why or find anyone else with the same issue.

Offline

Board footer

Powered by FluxBB