Bug 447819

Summary: Plasma mobile: do not show SSD title bar for GTK apps
Product: [Plasma] kwin Reporter: Plata <plata.hill>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: wishlist CC: kde, nate, plasma-bugs-null, xaver.hugl
Priority: NOR    
Version First Reported In: 5.23.4   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Plata 2022-01-02 10:51:37 UTC
SUMMARY
Title bars should not be shown for GTK apps (e.g. Firefox/psensor) on Plasma Mobile to save vertical space and avoid dragging the window.


STEPS TO REPRODUCE
1. Open Firefox/psensor
2. See that title bar is shown
3. Press title bar and drag the window

OBSERVED RESULT
Title bar is shown and window can be dragged around

EXPECTED RESULT
Title bar is not shown and window cannot be dragged around


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro-ARM
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Hardware: PinePhone
Comment 1 Kevin Kofler 2022-04-25 00:34:26 UTC
Are you sure the title bar is an SSD title bar? I think it is a CSD one.
Comment 2 David Edmundson 2024-04-25 14:37:37 UTC
waiting on reply to #1
Comment 3 Plata 2024-04-27 11:37:33 UTC
Can also be that it's CSD. Is there a way to verify this?
Comment 4 Bug Janitor Service 2024-05-12 03:45:26 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Zamundaaa 2024-06-07 19:23:48 UTC
Firefox uses CSD by default, and there isn't anything we can do about it with GTK, because it doesn't support xdg-decoration, where we can enforce decorations to be (not) drawn by the compositor without the app showing its own.
With Firefox specifically, you can configure it to use server side decorations by making it use a title bar, in which case it should be hidden automatically.