Summary: | Pressing the down arrow on the last category in any sidebar causes the vertical alignment to get messed up | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kirigami | Reporter: | Kishore Gopalakrishnan <kishore96> |
Component: | general | Assignee: | Marco Martin <notmart> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | aspotashev, nate, plasma-bugs, vjciqw7p |
Priority: | NOR | ||
Version: | Master | ||
Target Milestone: | Not decided | ||
Platform: | Other | ||
OS: | Other | ||
Latest Commit: | https://invent.kde.org/frameworks/kirigami/commit/537e213292cfadb6892a10987cdd9b21df158770 | Version Fixed In: | 5.85 |
Sentry Crash Report: | |||
Attachments: | Screenshot of the broken state |
lol oops This appears to be a defect in Kirigami.ScrollablePage. I can reproduce the issue with other UI elements based on it what are not tall enough to be scrollable. Will investigate. A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kirigami/-/merge_requests/344 Git commit 537e213292cfadb6892a10987cdd9b21df158770 by Aleix Pol Gonzalez, on behalf of Nate Graham. Committed on 02/08/2021 at 20:34. Pushed by ngraham into branch 'master'. [ScrollView] Don't scroll with arrow keys if the view isn't scrollable Otherwise, a non-scrollable view will oddly teleport its contents to the bottom when you hit the down arrow key. FIXED-IN: 5.85 M +4 -0 src/controls/templates/private/ScrollView.qml https://invent.kde.org/frameworks/kirigami/commit/537e213292cfadb6892a10987cdd9b21df158770 *** Bug 439993 has been marked as a duplicate of this bug. *** *** Bug 441084 has been marked as a duplicate of this bug. *** |
Created attachment 139835 [details] Screenshot of the broken state SUMMARY If the focus is on the last item in a sidebar, pressing the down arrow causes the items to become vertically aligned to the bottom STEPS TO REPRODUCE 1. Go to System Settings > Workspace > Startup and shutdown 2. Click in the sidebar that shows subcategories, placing the focus on the last item (Desktop session) 3. Press down arrow (keyboard key) OBSERVED RESULTS Pressing 'down' when the last item in a sidebar is selected vertically aligns everything to the bottom (see attached screenshot). EXPECTED RESULTS Pressing the down arrow in step 3 should do nothing. SOFTWARE VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.22.2 KDE Frameworks Version: 5.83.0 Qt Version: 5.15.2 Kernel Version: 5.10.47-1-lts (64-bit) ADDITIONAL INFORMATION Seems to be a general bug with the sidebar. Also reproducible in Settings > Workspace > Search