https://bugs.kde.org/show_bug.cgi?id=477951

            Bug ID: 477951
           Summary: "apply initially" window rules only applies first time
                    window opened
    Classification: Plasma
           Product: kwin
           Version: 5.27.9
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: rules
          Assignee: kwin-bugs-n...@kde.org
          Reporter: linus.kard...@gmail.com
                CC: isma...@gmail.com
  Target Milestone: ---

Created attachment 163793
  --> https://bugs.kde.org/attachment.cgi?id=163793&action=edit
rules

SUMMARY
I have some window rules set up set up for Firefox picture-in-picture as shown
in the screenshot, as a workaround for Firefox not being able to set those
properties on Wayland. However, when set to "apply initially", they only they
only apply the first time you open picture-in-picture, not subsequent times.
The properties will apply again once Firefox is restarted, but only once. This
issue does not happen if you set the properties to "force".

STEPS TO REPRODUCE
1. Set up window rules like in the screenshot (window title would differ
depending in language)
2. Open picture-in-picture
3. Close picture-in-picture
4. Open picture-in-picture again

OBSERVED RESULT
The properties only applied to the first picture-in-picture window

EXPECTED RESULT
The properties applies to all matching windows

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20231110
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11
Kernel Version: 6.6.1-1-default (64-bit)
Graphics Platform: Wayland
Processors: 8 × AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx
Memory: 29.3 Gibyte of RAM
Graphics Processor: AMD Radeon Vega 10 Graphics
Manufacturer: Acer
Product Name: Aspire A315-41
System Version: V1.18

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to