Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#62767 - [krita] No menu when Plasma global menu is enabled

Attached to Project: Arch Linux
Opened by beojan (beojan) - Tuesday, 28 May 2019, 13:15 GMT
Last edited by Antonio Rojas (arojas) - Monday, 24 June 2019, 21:55 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
When the Plasma global menu is enabled (i.e. when the Global Menu plasmoid is added to a panel) no menu is visible when Krita is active.

That is, the Krita menubar does not appear in the Global Menu plasmoid, nor does it appear in the Krita application window.
The menubar does appear in the Global Menu plasmoid if the Krita Appimage is used.

The root cause is that the DBus connection to the session bus is suspended in Krita. This can be seen from the debug messages with QDBUS_DEBUG=1

Additional info:
* package version(s) -- 4.2.0

Steps to reproduce:
- Add Global Menu plasmoid to a plasma panel (ideally at the top)
- Open Krita

This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 24 June 2019, 21:55 GMT
Reason for closing:  Fixed
Additional comments about closing:  krita 4.2.2-2
Comment by Antonio Rojas (arojas) - Tuesday, 28 May 2019, 13:21 GMT
Please comment on the upstream report https://bugs.kde.org/show_bug.cgi?id=408015
Comment by beojan (beojan) - Tuesday, 28 May 2019, 13:25 GMT
Best to discuss this point here first, since it's Arch specific:

The version of Qt in Arch (so presumably also what the package was built against) is 5.12.3, so it can't be specific to 5.13.

EDIT:
Indeed, the system information in Krita shows that the Appimage uses 5.12.2 and the Arch build uses 5.12.3.
Comment by Antonio Rojas (arojas) - Tuesday, 28 May 2019, 16:42 GMT
The appimage uses 5.12.2 with a zillion patches that makes it in practice a fork. You are right that this is not specific to 5.13
Comment by Gena (Shatur) - Thursday, 30 May 2019, 17:54 GMT
Confirm it. I noticed that Krita 4.2.0 also uses only the "fusion" style. I tried to override it with "krita -style Breeze", but Krita is still running in fusion mode. I think this can be related with this bug. I also tried to remove the old config, but this has no effect. If I downgrade to version 4.1.0, style and the global menu works.
Comment by beojan (beojan) - Thursday, 30 May 2019, 17:59 GMT
That's different, you need to set the environment variable KRITA_NO_STYLE_OVERRIDE=1
Comment by Gena (Shatur) - Thursday, 30 May 2019, 19:40 GMT
Oh, yes, you are right, sorry. It is strange that the Krita overrides style even in KDE session.

Loading...