You are not logged in.

#1 2022-04-14 08:55:15

tigerjack
Member
Registered: 2017-08-20
Posts: 76

Okular menu bar not working under wayland

As per the title, when I launch okular with QT_QPA_PLATFORM=wayland or wayland-egl, the menu bar doesn't work: clicks on any element of the bar doesn't open the corresponding menu, but seems to have no effect at all.
The functionality is restored if I apply QT_QPA_PLATFORM=xcb, which kind of sucks since it falls back to XWayland. Is anyone having the same problem? Is there any fix?

Last edited by tigerjack (2022-04-14 09:02:12)

Offline

#2 2022-04-19 14:13:02

tigerjack
Member
Registered: 2017-08-20
Posts: 76

Re: Okular menu bar not working under wayland

I filed a bug report just now https://bugs.kde.org/show_bug.cgi?id=452768

Offline

#3 2022-04-19 14:18:19

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,307

Re: Okular menu bar not working under wayland

Worksforme™ which menu bar are you talking about? The standard one with the normal application menu? Do you have multiple monitors? There's a strange bug where the menu that should be opening opens somewhere "random" if the different monitors aren't aligned to the top, for whatever reason, seems to be some Qt bug. Other stuff in this direction, like specific scaling factors or so?

Are you using some non repo Qt theme?

Last edited by V1del (2022-04-19 14:20:36)

Offline

#4 2022-04-19 14:32:00

tigerjack
Member
Registered: 2017-08-20
Posts: 76

Re: Okular menu bar not working under wayland

V1del wrote:

Worksforme™ which menu bar are you talking about? The standard one with the normal application menu?

Yep, that one.

Do you have multiple monitors? There's a strange bug where the menu that should be opening opens somewhere "random" if the different monitors aren't aligned to the top, for whatever reason, seems to be some Qt bug.

In general, I use multiple monitors, but the problems is there also when using single one. BUT!!! Opening wdisplays, I noticed that the single screen was not aligned to the top. Moving it to top fixed the issue! Wow, I would never thought of that.

Offline

#5 2022-04-20 19:26:49

tigerjack
Member
Registered: 2017-08-20
Posts: 76

Re: Okular menu bar not working under wayland

V1del wrote:

There's a strange bug where the menu that should be opening opens somewhere "random" if the different monitors aren't aligned to the top, for whatever reason, seems to be some Qt bug

Can you please point me to the bug you were mentioning? I found something but I am not completely sure it is a different form of the same bug.

Offline

Board footer

Powered by FluxBB