Bug 500582

Summary: Tap highlighting for the "return to the main page" top bar isn't centered for plasma-mobile-settings 25.02.0
Product: [Applications] plasma-mobile-settings Reporter: Marco Mattiolo <marco.mattiolo>
Component: generalAssignee: Devin Lin <espidev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot showing highlighted area around page title when tapping to get back

Description Marco Mattiolo 2025-02-22 16:43:35 UTC
Created attachment 178738 [details]
screenshot showing highlighted area around page title when tapping to get back

It should be intuitively evident when checking the attached image, but I'll try describing it briefly.

With plasma-mobile-settings_25.02.0, settings groups were introduced, that bring to a secondary page with list of KCM of that group. When tapping on the top bar to get back to the main page, the highlighted area isn't vertically centered around the title. It feels visually unpleasant.
Comment 1 Devin Lin 2025-02-22 17:08:38 UTC
Seems to be specific to qqc2-breeze-style used on mobile, using QT_QUICK_CONTROLS_STYLE=org.kde.desktop doesn't have the issue
Comment 2 Bug Janitor Service 2025-02-24 15:43:52 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma-mobile/plasma-settings/-/merge_requests/138
Comment 3 Devin Lin 2025-03-01 07:16:38 UTC
Git commit ecf3fb22af8980e411196ccae32f2caedecdc844 by Devin Lin.
Committed on 01/03/2025 at 07:15.
Pushed by devinlin into branch 'master'.

SidebarSubCategoryPage: Fix header button padding on qqc2-breeze-style
qqc2-breeze-style apparently sets padding on ItemDelegates, explicitly set this.

M  +28   -30   src/qml/SidebarSubCategoryPage.qml

https://invent.kde.org/plasma-mobile/plasma-settings/-/commit/ecf3fb22af8980e411196ccae32f2caedecdc844