Bug 488551

Summary: haruna crash when switching fullscreen and not fullscreen quickly or spamming "Show menubar" checkbox
Product: [Applications] Haruna Reporter: alanas.00
Component: genericAssignee: george fb <georgefb899>
Status: REPORTED ---    
Severity: crash CC: hu.repasidavid
Priority: NOR    
Version: 1.1.2   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description alanas.00 2024-06-15 19:09:47 UTC
STEPS TO REPRODUCE
1. open haruna (playing video or audio not needed)
2. hold F

OBSERVED RESULT
haruna flickers between fullscreen and not fullscreen for 2s to 20s and crashes

EXPECTED RESULT
haruna flickers between fullscreen and not fullscreen until release F

SOFTWARE/OS VERSIONS
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION
I can reproduce this with Linux Mint 21.3 Cinnamon Edition, "Cinnamon on Wayland (Experimental)" desktop environment, org.kde.haruna 1.1.2 stable flatpak

I don't know how to get backtrace inside flatpak
Comment 1 alanas.00 2024-06-16 10:32:53 UTC
haruna flickers between fullscreen and not fullscreen faster and DOESN'T CRASH if "Show menubar" disabled in settings
Comment 2 alanas.00 2024-06-16 12:55:56 UTC
ALTERNATIVE STEPS TO REPRODUCE (ydotool needed)
1. open haruna (playing video or audio not needed)
2. click "Configure"
3. run "ydotool type --delay=9999 '                    '" as root asynchronously
4. click "Show menubar" checkbox (inside "Settings — Haruna" window)
5. wait until step 3 finishes

note: step 3 must finish after step 4
Comment 3 Répási Dávid 2024-07-05 13:25:54 UTC
This happens on arch as well, in version 1.1.2.
I'd argue that the expected behaviour matches that of mpv instead of vlc (that being changing only once until the input is held), since this can cause problems for people sensitive to flickering.