Bug 419514 - Discover, Connections kcm and System Tray settings have unnecessary horizontal scroll bar after update to Qt 5.14.2
Summary: Discover, Connections kcm and System Tray settings have unnecessary horizonta...
Status: RESOLVED UPSTREAM
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.68.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: Not decided
Assignee: Marco Martin
URL: https://bugreports.qt.io/browse/QTBUG...
Keywords:
: 421268 425612 441960 445053 446998 449528 452721 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-04-01 20:22 UTC by Patrick Silva
Modified: 2022-04-18 14:20 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot of Discover (203.16 KB, image/png)
2020-04-01 20:22 UTC, Patrick Silva
Details
screenshot of Connections kcm (58.89 KB, image/png)
2020-04-01 20:23 UTC, Patrick Silva
Details
screenshot of Connections kcm (62.12 KB, image/png)
2020-04-01 20:25 UTC, Patrick Silva
Details
system tray settings (99.00 KB, image/png)
2020-04-01 21:26 UTC, Patrick Silva
Details
"File search" kcm is also affected (242.54 KB, image/png)
2020-04-12 12:33 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2020-04-01 20:22:44 UTC
Created attachment 127174 [details]
screenshot of Discover

STEPS TO REPRODUCE
1. open Discover and open the description page of any app without screenshots
2. right-click on network icon in systray, click on "Configure network connections..."
3. 

OBSERVED RESULT
See the unnecessary horizontal scroll bars highlighted in red in the attached screenshots.

EXPECTED RESULT
no unnecessary horizontal scroll bar

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.68.0
Qt Version: 5.14.2
Comment 1 Patrick Silva 2020-04-01 20:23:17 UTC
Created attachment 127175 [details]
screenshot of Connections kcm
Comment 2 Patrick Silva 2020-04-01 20:25:44 UTC
Created attachment 127176 [details]
screenshot of Connections kcm
Comment 3 Patrick Silva 2020-04-01 21:26:06 UTC
Created attachment 127183 [details]
system tray settings

System tray settings is also affected.
Comment 4 Andreas Sturmlechner 2020-04-02 13:28:28 UTC
I can confirm it for system tray on Gentoo.
Comment 5 Patrick Silva 2020-04-12 12:33:03 UTC
Created attachment 127467 [details]
"File search" kcm is also affected

Operating System: Arch Linux 
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.2
Comment 6 Andreas Sturmlechner 2020-04-19 08:44:36 UTC
Still visible after upgrade to Qt 5.15.0_beta3, so it is not just a 5.14.2 fluke.
Comment 7 Andreas Sturmlechner 2020-04-29 10:07:32 UTC
Thanks to fvogt, unwanted horizontal scrollbars are gone after reverting commit a82b1b27 in qtdeclarative (tested with 5.15.0_beta4).
Comment 8 David Redondo 2020-04-29 13:30:21 UTC
Upstream bug report: https://bugreports.qt.io/browse/QTBUG-83890
Comment 9 David Redondo 2020-05-01 07:48:57 UTC
If it doesn't get fixed in time, for the kcm we could simply use org.kde.kcm.ScrollView in kcms which forcefully disable horizontal scrollbars or do it manually in affected locations.
Comment 10 Patrick Silva 2020-05-10 19:03:25 UTC
*** Bug 421268 has been marked as a duplicate of this bug. ***
Comment 11 Andreas Sturmlechner 2020-05-16 23:39:03 UTC
(In reply to David Redondo from comment #8)
> Upstream bug report: https://bugreports.qt.io/browse/QTBUG-83890

FWIW, that upstream patchset seems to work as advertised when applied to Qt 5.14.2 or 5.15.0_rc.
Comment 12 David Redondo 2020-05-17 07:21:33 UTC
Good to hear! I initially created it against 5.14.2 too and then realizing that there will be no more 5.14 release...
If it's indeed the correct fix, I think we should email distros and ask them to included this patch if they plan to ship 5.19 with 5.14. I started manually setting the horizontal scrollbar policy to AlwaysOff in plasma-workspace, plasma-desktop and plasma-nm but this approach just doesn't scale. Every place where there is a Listview or Gridview  inside a quick controls 2 scrollview is  affected. (I didn't check quick controls 1 scrollview yet). And there are many more repos in plasma than those three. And then also all the other stuff we release and potentially uses this
Comment 13 Nate Graham 2020-05-18 14:48:14 UTC
(In reply to David Redondo from comment #12)
> If it's indeed the correct fix, I think we should email distros and ask them
> to included this patch if they plan to ship 5.19 with 5.14.
Sounds like a good idea; feel free to. You can email distributions@kde.org.
Comment 14 Nate Graham 2020-08-21 00:55:17 UTC
*** Bug 425612 has been marked as a duplicate of this bug. ***
Comment 15 Patrick Silva 2021-09-07 11:54:46 UTC
*** Bug 441960 has been marked as a duplicate of this bug. ***
Comment 16 Patrick Silva 2021-11-06 03:12:44 UTC
*** Bug 445053 has been marked as a duplicate of this bug. ***
Comment 17 Patrick Silva 2021-12-15 15:44:32 UTC
*** Bug 446998 has been marked as a duplicate of this bug. ***
Comment 18 Patrick Silva 2022-02-03 01:44:16 UTC
*** Bug 449528 has been marked as a duplicate of this bug. ***
Comment 19 Patrick Silva 2022-04-18 14:20:25 UTC
*** Bug 452721 has been marked as a duplicate of this bug. ***