Bug 457539

Summary: In narrow/mobile mode, drawer unexpectedly remains open after clicking on anything in it
Product: [Applications] Discover Reporter: Unknown <null>
Component: discoverAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol, nate
Priority: NOR Keywords: usability
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.25.5

Description Unknown 2022-08-05 23:49:05 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Open Discover
2. Resize the Discover window until the hamburger menu is visible
3. Click on any subcategory

OBSERVED RESULT
The hamburger menu is still open instead of following the behavior when the user clicks on the home option

EXPECTED RESULT
The hamburger menu should auto-hide as it happens when the user clicks on the home option

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Rawhide 37 (Kinoite)
(available in About System)
KDE Plasma Version: 5.25.3
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION
Kernel Version: 5.19.0-65.fc37.x86_64 (64-bit)
Graphics Platform: Wayland


** Click on the link and watch the video below where I reproduce the steps to get to the bug, sorry it was the best way I found to report this bug. Follow the link: https://youtu.be/jAo0NI69oyE **
Comment 1 Nate Graham 2022-08-08 17:11:14 UTC
Can confirm.
Comment 2 Bug Janitor Service 2022-08-08 20:09:17 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/346
Comment 3 Aleix Pol 2022-08-25 09:24:47 UTC
Git commit a5d88b1e821e185df6fd5c50073d632b165aaad6 by Aleix Pol Gonzalez, on behalf of Nate Graham.
Committed on 25/08/2022 at 09:20.
Pushed by ngraham into branch 'master'.

When drawer is a drawer, close it when clicking leaf items in it

Otherwise it awkwardly stays open, covering the content you just
navigated to. It's nicer to close it automatically after using it to go
somewhere, so you can see the place you just got to.
FIXED-IN: 5.25.5

M  +4    -0    discover/qml/DiscoverDrawer.qml

https://invent.kde.org/plasma/discover/commit/a5d88b1e821e185df6fd5c50073d632b165aaad6
Comment 4 Nate Graham 2022-08-25 09:25:53 UTC
Git commit 0a5c2e9ebc9fceaec391e3a7f7968869d0993e0e by Nate Graham.
Committed on 25/08/2022 at 09:25.
Pushed by ngraham into branch 'Plasma/5.25'.

When drawer is a drawer, close it when clicking leaf items in it

Otherwise it awkwardly stays open, covering the content you just
navigated to. It's nicer to close it automatically after using it to go
somewhere, so you can see the place you just got to.
FIXED-IN: 5.25.5


(cherry picked from commit a5d88b1e821e185df6fd5c50073d632b165aaad6)

M  +4    -0    discover/qml/DiscoverDrawer.qml

https://invent.kde.org/plasma/discover/commit/0a5c2e9ebc9fceaec391e3a7f7968869d0993e0e