Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windowrule doesn't apply to wps #6081

Open
Akira-uestc opened this issue May 15, 2024 · 8 comments
Open

windowrule doesn't apply to wps #6081

Akira-uestc opened this issue May 15, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@Akira-uestc
Copy link

Hyprland Version

System/Version info
Hyprland, built from branch main at commit 94c20a186372aace78b188842848b873eb3ebbd7  (primary-selection: move to hyprland impl).
Date: Wed May 15 06:13:35 2024
Tag: v0.40.0-87-g94c20a18, commits: 4693

flags: (if any)


System Information:
System name: Linux
Node name: Akira
Release: 6.8.9-zen1-2-zen
Version: #1 ZEN SMP PREEMPT_DYNAMIC Tue, 07 May 2024 22:06:02 +0000


GPU information: 
00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] [8086:9a49] (rev 03) (prog-if 00 [VGA controller])


os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo


plugins:

Bug or Regression?

Regression

Description

When upgrade to newest commit, some windowrules that worked before failed.

My window rule:
windowrulev2 = tile,class:^(wps|et|wpp|pdf)$,title:^(WPS Writer|WPS Spreadsheets|WPS Presentation|WPS PDF)$

Now the window does not tile but shows in the corner of the screen:
C3CB74B88413E782A76374ABA92544EB

hyprctl client:
Window 602e1adc5660 -> WPS PDF:
mapped: 1
hidden: 0
at: 960,540
size: 1536,864
workspace: 2 (2)
floating: 1
monitor: 0
class:
title: WPS PDF
initialClass: pdf
initialTitle: WPS PDF
pid: 4802
xwayland: 1
pinned: 0
fullscreen: 0
fullscreenmode: 0
fakefullscreen: 0
grouped: 0
swallowing: 0
focusHistoryID: 2

How to reproduce

Add windowrule in hyprland.conf

Crash reports, logs, images, videos

No response

@Akira-uestc Akira-uestc added the bug Something isn't working label May 15, 2024
@khaneliman
Copy link

khaneliman commented May 15, 2024

I've noticed missing 'class' on xwayland applications since new implementations (steam). So, some of my window rules stopped working. Ive gotten numerous crashes too, so i'm assuming transition pains with ironing out implementation.

@vaxerski
Copy link
Member

if crash, post crash report

@khaneliman
Copy link

khaneliman commented May 15, 2024

if crash, post crash report

unfortunately they were all empty.. :S Yesterdays crashes all at least had the crash report header information but no trace logs. Today it was an actual empty file.

@Akira-uestc
Copy link
Author

if crash, post crash report

unfortunately they were all empty.. :S Yesterdays crashes all at least had the crash report header information but no trace logs. Today it was an actual empty file.

Empty file +1
I installed hyprland-git through archlinuxcn repo(94c20a1) before and saw empty crash file
Now(3189002) hyprland doesn't crash but the windowrule still cannot work

@khaneliman
Copy link

if crash, post crash report

unfortunately they were all empty.. :S Yesterdays crashes all at least had the crash report header information but no trace logs. Today it was an actual empty file.

Empty file +1 I installed hyprland-git through archlinuxcn repo(94c20a1) before and saw empty crash file Now(3189002) hyprland doesn't crash but the windowrule still cannot work

That's interesting... that commit is what caused my latest crash with empty file lol

@vaxerski
Copy link
Member

@Akira-uestc
Copy link
Author

@Akira-uestc
Copy link
Author

https://wiki.hyprland.org/Crashes-and-Bugs/#obtaining-a-debug-stacktrace then
de9798f now has crash report when using xwayland window
hyprlandCrashReport1169.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants