Bug 474379 - Broken Placeholder message layout when there's no connection on Plasma 6
Summary: Broken Placeholder message layout when there's no connection on Plasma 6
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Networks widget (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-09-10 20:49 UTC by guimarcalsilva
Modified: 2024-12-23 18:25 UTC (History)
1 user (show)

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


Attachments
Misplaced icon (39.84 KB, image/png)
2023-09-10 20:49 UTC, guimarcalsilva
Details

Note You need to log in before you can comment on or make changes to this bug.
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