Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-10-25 11:33:28

unelsson
Member
Registered: 2020-10-25
Posts: 2

QStatusBar fails on Manjaro/XFCE4

Hi,

I've noticed that recently, OpenMW-CS application fails when using QStatusBar (Qt 5.15.1), when using XFCE4 on Manjaro. The bug results in whole XFCE4 crashing. The bug doesn't exists at all on Gnome.

In this application (OpenMW-CS), there are widgets that can be opened via menus, each widget creates a QStatusBar. When a widget is created a few times in a row (user opens certain dialog 3-4 times in a row), all XFCE4 menubars/statusbars (also on other windows) flicker, and are "reconstructed" again. If the user keeps creating widgets, flicker will come again, eventually whole XFCE4 failing into a state that can't be recovered from (no menubars, no menus at all).

The problem can be fixed if not using QStatusBar. Commenting the following line results in no QStatusBar, but no flicker or crashing.
https://github.com/OpenMW/openmw/blob/9 … x.cpp#L102

Offline

#2 2020-11-29 20:49:49

unelsson
Member
Registered: 2020-10-25
Posts: 2

Re: QStatusBar fails on Manjaro/XFCE4

It seems that the bug occurs when QStatusBar is constructed without a parent.

edit: This fixes the crash: https://gitlab.com/OpenMW/openmw/-/merg … /431/diffs . I haven't traced deep into what causes the crash, but maybe Qt needs some work? Is there something specific how XFCE handles QStatusBar or something related to that?

Last edited by unelsson (2020-11-29 21:34:31)

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.008 seconds, 8 queries executed - Memory usage: 516.3 KiB (Peak: 517.59 KiB) ]