Bug 452768 - Okular menu bar not working under wayland
Summary: Okular menu bar not working under wayland
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 21.12.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-19 14:11 UTC by tigerjack89
Modified: 2022-04-19 14:34 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Full log (27.80 KB, text/x-log)
2022-04-19 14:11 UTC, tigerjack89
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tigerjack89 2022-04-19 14:11:31 UTC
Created attachment 148241 [details]
Full log

STEPS TO REPRODUCE
1. Launch okular with `QT_QPA_PLATFORM=wayland` or `wayland-egl`
2. Click on `File` (or Alt-F) (or any other menu item)

OBSERVED RESULT
Menu item list is not shown


EXPECTED RESULT
Menu item list is visible


SOFTWARE/OS VERSIONS
Linux: 5.17.3-arch1-1 #1 SMP PREEMPT Thu, 14 Apr 2022 01:18:36 +0000 x86_64 GNU/Linux

KDE Plasma Version: 
KDE Frameworks Version:  5.93.0
Qt Version: Version 5.15.3 (built against 5.15.3)

ADDITIONAL INFORMATION
If using `QT_QPA_PLATFORM=xcb` everything works, but it is of course under XWayland.
The attachment show the log file produced with `WAYLAND_DEBUG=1` enabled.
Comment 1 tigerjack89 2022-04-19 14:34:04 UTC
Apparently, the problem was related to the main screen not being properly aligned to the top. Opening wdisplays, I moved the only screen alignment to top and everything was fixed. A user in the archlinux forum sent me through the right direction, post here if you want to follow https://bbs.archlinux.org/viewtopic.php?pid=2032267#p2032267