Bug 494259 - Connection delete dialog is broken when connection editor is launched from the NetworkManager applet.
Summary: Connection delete dialog is broken when connection editor is launched from th...
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_networkmanagement (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-07 20:02 UTC by Alexey
Modified: 2024-12-23 18:27 UTC (History)
4 users (show)

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


Attachments
Everything ok (1.0) (6.13 KB, image/jpeg)
2024-10-07 20:02 UTC, Alexey
Details
Everything not ok (1.25) (9.38 KB, image/jpeg)
2024-10-07 20:03 UTC, Alexey
Details
Too many "Delete" buttons (14.48 KB, image/jpeg)
2024-10-07 20:04 UTC, Alexey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey 2024-10-07 20:02:54 UTC
Created attachment 174515 [details]
Everything ok (1.0)

SUMMARY
On scaling 1.25, the delete dialog is broken, the contextual Delete buttons can stack.

STEPS TO REPRODUCE
1. Set fractional scaling;
2. Open "Configure network connections...";
3. Try to delete network.

OBSERVED RESULT
Popup dialog is broken, sometimes it's possible to have multiple "Delete" buttons.

EXPECTED RESULT
-

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3
Comment 1 Alexey 2024-10-07 20:03:21 UTC
Created attachment 174516 [details]
Everything not ok (1.25)
Comment 2 Alexey 2024-10-07 20:04:16 UTC
Created attachment 174517 [details]
Too many "Delete" buttons
Comment 3 Synthetic451 2024-10-08 00:03:09 UTC
Are we sure it is due to fractional scaling? My scaling is set to 100%, but I am having the exact same issue with the delete dialog being broken and misrendered.

I have found that if I go to the connection editor via the applet's "Configure Network Connections" button, I can always reproduce this bug. If I instead open up System Settings and manually navigate to the connection editor, then I can not reproduce this bug.

What's even more curious is if I use the first method, navigate to a different KCM and then navigate back to the connection editor, the delete dialog is back to normal.

Something is specifically different about launching the editor from the applet.
Comment 4 Alexey 2024-10-08 18:45:09 UTC
(In reply to Synthetic451 from comment #3)
> Are we sure it is due to fractional scaling? My scaling is set to 100%, but
> I am having the exact same issue with the delete dialog being broken and
> misrendered.
> 
> I have found that if I go to the connection editor via the applet's
> "Configure Network Connections" button, I can always reproduce this bug. If
> I instead open up System Settings and manually navigate to the connection
> editor, then I can not reproduce this bug.
> 
> What's even more curious is if I use the first method, navigate to a
> different KCM and then navigate back to the connection editor, the delete
> dialog is back to normal.
> 
> Something is specifically different about launching the editor from the
> applet.
I can confirm, that my latest observations match your "to reproduce" description and doesn't depends on fractional scaling. The notes about fractional scaling are a misunderstanding of the situation related to another bug that has already been reported and fixed.
Comment 5 Synthetic451 2024-10-08 19:07:36 UTC
I hope you don't mind, but I've updated the bug title to more accurately reflect the current situation for the devs.

Here's an updated steps to reproduce:

Bug-case:
1. Click the NetworkManager applet in the task tray
2. Click the "Configure Network Connections" button next to the Pin icon
3. Attempt to delete any connection
4. Notice that the delete dialog is misrendered and completely prevents the user from confirming or canceling the deletion

Workaround:
1. Launch System Settings first
2. Click on Wifi & Internet
3. Attempt to delete any connection
4. Notice that delete dialog works
Comment 6 Synthetic451 2024-10-16 18:28:24 UTC
Recent updates seems to have fixed this issue by making the delete dialog pop out of the KCM panel. I am not sure whether it was KDE Frameworks 6.6 -> 6.7, or Plasma 6.2 -> 6.2.1, or even the Qt 6.7 -> 6.8 update, but whatever happened seems to have resolved the issue.

@Alexey are you seeing the same thing on your end?
Comment 7 Alexey 2024-10-16 20:34:52 UTC
(In reply to Synthetic451 from comment #6)
> Recent updates seems to have fixed this issue by making the delete dialog
> pop out of the KCM panel. I am not sure whether it was KDE Frameworks 6.6 ->
> 6.7, or Plasma 6.2 -> 6.2.1, or even the Qt 6.7 -> 6.8 update, but whatever
> happened seems to have resolved the issue.
> 
> @Alexey are you seeing the same thing on your end?

Yes, the problem has gone.