Bug 415251

Summary: Notification KCM UI changes layout upon opening subpage and going back
Product: [Frameworks and Libraries] frameworks-kirigami Reporter: Alexander Potashev <aspotashev>
Component: generalAssignee: Marco Martin <notmart>
Status: CONFIRMED ---    
Severity: normal CC: nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.64.0   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screenshot 1
screenshot 2
screenshot 3

Description Alexander Potashev 2019-12-16 17:40:23 UTC
SUMMARY
Notification KCM UI changes layout on opening subpage and going back.

STEPS TO REPRODUCE
1. Click on the Notifications widget on system tray.
2. Click "Configure Notifications...", see screenshot 1.
3. Click "Set custom location..." ("Задать собственное расположение..." in Russian), see screenshot 2.
4. Click left arrow or on the breadcrumb to go back to the dialog's first page.

OBSERVED RESULT
The dialog looks differently compared to screenshot 1, see screenshot 3.

The dialog was in mobile layout on screenshot 1.
The dialog is in desktop (side-by-side) layout on screenshot 3.

EXPECTED RESULT
The dialog should look the same as long as its window size is unchanged.

SOFTWARE/OS VERSIONS
Operating System: Fedora 31
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.64.0
Qt Version: 5.12.5
Kernel Version: 5.3.15-300.fc31.x86_64
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 15,4 ГиБ

ADDITIONAL INFORMATION
Comment 1 Alexander Potashev 2019-12-16 17:52:41 UTC
Created attachment 124529 [details]
screenshot 1
Comment 2 Alexander Potashev 2019-12-16 17:53:03 UTC
Created attachment 124530 [details]
screenshot 2
Comment 3 Alexander Potashev 2019-12-16 17:53:16 UTC
Created attachment 124531 [details]
screenshot 3
Comment 4 Alexander Potashev 2019-12-16 17:54:20 UTC
Another problem on screenshot 3: The text in the longest checkbox is truncated.
Comment 5 Kai Uwe Broulik 2019-12-16 17:55:07 UTC
Looks like an issue with Kirigami's FormLayout and/or the multipage stuff, re-assigning.
Comment 6 Nate Graham 2020-01-01 22:46:46 UTC
Layout shenanigans from Formlayout going into mobile mode when it becomes too long. That one really long string is probably borderline in one view, but just over the limit after going back.

Of course, why the layout changes when going back is itself a mystery...