Bug 505424 - WireGuard peers properties dialog: pressing Escape breaks it
Summary: WireGuard peers properties dialog: pressing Escape breaks it
Status: ASSIGNED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_networkmanagement (other bugs)
Version First Reported In: 6.3.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-10 10:47 UTC by ratijas
Modified: 2025-07-02 15:48 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ratijas 2025-06-10 10:47:56 UTC
SUMMARY

STEPS TO REPRODUCE
1. Open properties of some WireGuard VPN interface;
2. On the right pane in the default 'WireGuard Interface" tab click the Peers button;
3. In the "WireGuard peers properties" dialog you should see at least one "Peer %n" tab;
4. Click to focus on any of the text fields inside the tab's frame;
5. Press Escape key on the keyboard.

OBSERVED RESULT
Tab's content is gone. It becomes hidden or something. If you have more than one Peer tab, switching between the tabs back and forth fixes the visibility.

EXPECTED RESULT
not this

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.1
Kernel Version: 6.14.10-arch1-1 (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
This is probably some artifact from Qt Widgets architecture wherein the distinction between parented widgets and top-level widgets/windows is quite intangible at times. So…

FOR ANYONE TRYING TO FIX THIS: make sure the tab's content isn't exposed as some kind of top-level widget elsewhere, and if it does — make sure it can still close itself with the parented Escape-to-hide behavior removed.
Comment 1 Bug Janitor Service 2025-06-10 17:07:27 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-nm/-/merge_requests/437