Bug 473372 - After showing the tab with scrollbar, another tab that does not need it, keeps showing it
Summary: After showing the tab with scrollbar, another tab that does not need it, keep...
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_keyboard (show other bugs)
Version: 5.27.7
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-14 14:56 UTC by Andrew Shark
Modified: 2023-08-17 02:11 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Demonstrate that scrollbars is shown when it is not wanted (563.39 KB, video/mp4)
2023-08-14 14:56 UTC, Andrew Shark
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Shark 2023-08-14 14:56:57 UTC
Created attachment 160953 [details]
Demonstrate that scrollbars is shown when it is not wanted

In System Settings in the Keyboard KCM, the horizontal scrollbar remains showing after switching to the tab that does not need to show it, from the tab that showed it.

STEPS TO REPRODUCE
1. Open System Settings and go to Input Devices -> Keyboard.
2. Go to the "Layouts" tab.
3. Make sure it has horizontal scrollbar. If it has not, resize the window to reduce its width.
4. Open some another KCM in current window, for example, go to Input Devices -> Mouse.
5. Go back to Input Devices -> Keyboard. The "Hardware" tab is opened. You can see there is no horizontal scrollbar.
6. Switch to "Advanced" tab. You can see there is no horizontal scrollbar.
7. Switch to "Layouts" tab. You can see that horizontal scrollbar appeared.
8. Switch to any other tab ("Hardware" or "Advanced").

OBSERVED RESULT
You see that there horizontal scrollbar is still shown at the bottom. And the content is stretched to its width.

EXPECTED RESULT
At step 8 the horizontal scrollbars should be hidden, just like when you opened the tab for the first time (at steps 5 and 6).

See included video.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Graphics Platform: Wayland