Bug 452768

Summary: Okular menu bar not working under wayland
Product: [Applications] okular Reporter: tigerjack89
Component: generalAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 21.12.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Full log

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