Bug 443224 - Kwin puts titlebar wrongly in some java apps
Summary: Kwin puts titlebar wrongly in some java apps
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 5.22.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-02 15:20 UTC by lucboari
Modified: 2023-08-17 11:22 UTC (History)
3 users (show)

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


Attachments
Dbeaver CE (308.28 KB, image/png)
2021-11-11 00:11 UTC, lucboari
Details
Eclipse IDE (399.30 KB, image/png)
2021-11-11 00:11 UTC, lucboari
Details
IntelliJ Idea Community (962.48 KB, image/png)
2021-11-11 00:12 UTC, lucboari
Details
Jameica splash screen with window decoration (58.32 KB, image/png)
2021-11-17 14:04 UTC, Jan Rathmann
Details
Jameica text field autocomplete suggestion with window decoration (14.26 KB, image/png)
2021-11-17 14:05 UTC, Jan Rathmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lucboari 2021-10-02 15:20:24 UTC
Usually when the application is loading there is a headerless window shown, but plasma wayland is not supressing the header bar in some java applications.

So far I have encontered this problem with Eclipse and DBeaver. I had no problems with Itellij Idea.
Comment 1 Nate Graham 2021-10-05 00:13:59 UTC
Can you please attach a screenshot that shows the problem? Thanks!
Comment 2 Bug Janitor Service 2021-10-20 04:35:33 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 3 Bug Janitor Service 2021-11-04 04:35:27 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now 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

Thank you for helping us make KDE software even better for everyone!
Comment 4 lucboari 2021-11-05 20:02:58 UTC
Sorry, I hadn't seen the emails until now. I will provide the screenshots nextly.
Comment 5 lucboari 2021-11-11 00:11:14 UTC
Created attachment 143431 [details]
Dbeaver CE
Comment 6 lucboari 2021-11-11 00:11:56 UTC
Created attachment 143432 [details]
Eclipse IDE
Comment 7 lucboari 2021-11-11 00:12:32 UTC
Created attachment 143433 [details]
IntelliJ Idea Community
Comment 8 Nate Graham 2021-11-11 00:33:59 UTC
Oh you must be talking about the splash screens.

I also see the Wayland logo, so you must be using the Plasma Wayland session. Do the splash screens look correct in the X11 session?
Comment 9 lucboari 2021-11-11 19:24:16 UTC
Yes, both Dbeaver and Eclipse are centered and don't show the title bar
Comment 10 Nate Graham 2021-11-11 23:45:17 UTC
OK, it could be an app-specific issue, or it would be a wayland-specific regression. Or an element of both.
Comment 11 Jan Rathmann 2021-11-17 13:59:32 UTC
I see this on Wayland when using Jameica (also a Java app). The splash screen at startup is affected, and also autocomplete suggestions for text input field get a window decoration (which looks really weird ;-) ). On X11 this does not happen.

Don't know if it's relevant, but I use Jameica as a Flatpak.

KDE 5.23.3
Frameworks 5.88
Qt 5.15.2
Comment 12 Jan Rathmann 2021-11-17 14:04:57 UTC
Created attachment 143667 [details]
Jameica splash screen with window decoration
Comment 13 Jan Rathmann 2021-11-17 14:05:45 UTC
Created attachment 143668 [details]
Jameica text field autocomplete suggestion with window decoration
Comment 14 Zamundaaa 2023-08-17 11:22:16 UTC
Please report this to Java. It's explicitly setting server side decorations for these windows, so that's what the window gets