Bug 474379

Summary: Broken Placeholder message layout when there's no connection on Plasma 6
Product: [Plasma] plasmashell Reporter: guimarcalsilva
Component: Networks widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR Keywords: qt6
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Misplaced icon

Description guimarcalsilva 2023-09-10 20:49:37 UTC
Created attachment 161545 [details]
Misplaced icon

SUMMARY
Broken layout when there's no connection on Plasma 6. Check screenshot.


STEPS TO REPRODUCE
1. Disconnect ethernet cable if you're on a desktop PC

OBSERVED RESULT
The "No available connections" info is cut off

EXPECTED RESULT
The "No available connections" info should be centered

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.240.0
Qt Version: 6.6.0
Kernel Version: 6.2.0-32-generic (64-bit)
Graphics Platform: X11
Processors: 6 × Intel® Core™ i5-9400F CPU @ 2.90GHz
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 570 Series
Comment 1 Nate Graham 2023-09-11 17:52:10 UTC
Can reproduce by entering Airplane mode, too.
Comment 2 Nate Graham 2023-09-11 18:10:26 UTC
Git commit bce38c0a95052ec62d9070941817acc01e431ee8 by Nate Graham.
Committed on 11/09/2023 at 20:09.
Pushed by ngraham into branch 'master'.

ConnectionListPage: move PlaceholderMessage into ListView

Centering stuff in a ScrollView is unreliable, but it works as expected
in a ListView.

M  +34   -33   applet/contents/ui/ConnectionListPage.qml

https://invent.kde.org/plasma/plasma-nm/-/commit/bce38c0a95052ec62d9070941817acc01e431ee8
Comment 3 Ben Cooksley 2024-12-23 18:25:56 UTC
Bulk transfer as requested in T17796