Bug 477888 - No title bar and frame rule not applying to new windows for Alacritty
Summary: No title bar and frame rule not applying to new windows for Alacritty
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: rules (show other bugs)
Version: 5.90.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-12-02 06:26 UTC by Kristian Buchman
Modified: 2024-02-01 11:00 UTC (History)
1 user (show)

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


Attachments
Video of reproducing the issue. (268.09 KB, video/webm)
2023-12-02 06:26 UTC, Kristian Buchman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kristian Buchman 2023-12-02 06:26:43 UTC
Created attachment 163742 [details]
Video of reproducing the issue.

SUMMARY
***
I just upgraded to Plasma 6 Beta with the Kde-Unstable repo on archlinux. I've been using rules to remove the titlebar and frame from both Firefox and Alacritty forever and did not experience issues on Plasma 5. The same rule works just fine for Firefox.

I have a rule that matches the Window Class to Alacritty setup by the Detect Window Properties button. I have the rule set to force. When I have windows open and apply the rule the titlebars and frames are removed correctly, however when opening new windows they appear with titlebars. Reapplying the rule removes them again. 
***


STEPS TO REPRODUCE
1. Setup a rule to remove the titlebar and frame from Alacritty
2. Open a new terminal

OBSERVED RESULT
The window appears with a titlebar and frame.

EXPECTED RESULT
The window should appear without titlebar and frame.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
KDE Plasma Version: 5.90.0
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.1

ADDITIONAL INFORMATION
Wayland Session.
Comment 1 Vlad Zahorodnii 2024-01-15 10:17:41 UTC
Cannot reproduce. Please post the output of `WAYLAND_DEBUG=1 alacritty`
Comment 2 Kristian Buchman 2024-01-17 06:01:01 UTC
(In reply to Vlad Zahorodnii from comment #1)
> Cannot reproduce. Please post the output of `WAYLAND_DEBUG=1 alacritty`

Hey Vlad,

I fixed this by editing my alacritty config to not apply decorations. The weird behavior was with 'decorations: full' in the config. I think this can be closed. 

Thanks,
Kristian
Comment 3 Bug Janitor Service 2024-02-01 03:45: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 4 Kristian Buchman 2024-02-01 03:48:19 UTC
Hey! I downgraded back to version 5 and but  I also saw that Alacritty allows removing the window titles with the config file. So you can close this. Thanks!
Comment 5 Vlad Zahorodnii 2024-02-01 11:00:06 UTC
Cool