Summary: | " - Portal" shown in titlebar. | ||
---|---|---|---|
Product: | [Plasma] xdg-desktop-portal-kde | Reporter: | Craig Drummond <craig> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | aleixpol, jgrulich, nate, nicolas.fella |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/xdg-desktop-portal-kde/commit/dff2ad19d38241d2fa9997311c5801a0617ddb86 | Version Fixed In: |
Description
Craig Drummond
2023-02-19 08:07:25 UTC
Yeah we should override the title to omit the app name (technically that's what it is; the portal dialog is actually a separate app, not a dialog spawned by the other window itself). From a technical POV this is a bit tricky, the "application" name is set by Qt internally. See https://bugreports.qt.io/browse/QTBUG-111497 Per the resolution to that bug report, Qt devs say we can do this ourselves by clearing the display name. A possibly relevant merge request was started @ https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/merge_requests/180 Git commit dff2ad19d38241d2fa9997311c5801a0617ddb86 by Nicolas Fella. Committed on 21/03/2023 at 11:54. Pushed by nicolasfella into branch 'master'. Unset QApplication::applicationDisplayName() Otherwise windows created by the portal get '- Portal' added to their window title, which should be avoided because it's an implementation detail meaningless to the user M +1 -1 src/xdg-desktop-portal-kde.cpp https://invent.kde.org/plasma/xdg-desktop-portal-kde/commit/dff2ad19d38241d2fa9997311c5801a0617ddb86 |