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

            Bug ID: 516878
           Summary: window rules not being applied to flatpak apps
    Classification: Plasma
           Product: kwin
      Version First git master
       Reported In:
          Platform: KDE Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: rules
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

Created attachment 190220
  --> https://bugs.kde.org/attachment.cgi?id=190220&action=edit
haruna rule screenshot

STEPS TO REPRODUCE
1. Make a window rule for a flatpak app (I tested with Haruna, Firefox,
Thunderbird, Discord, Konsole) involving the new Hide from screencast option or
the maximized vertically property using the detect window properties button to
match the correct application
2. Launch a new instance of the configured flatpak application

OBSERVED RESULT
Window rule is not applied, flatpak application is still visible to screencasts
in this case or not maximzed vertically

EXPECTED RESULT
The window rule is applied

SOFTWARE/OS VERSIONS
Operating System: KDE Linux 2026-02-28
KDE Plasma Version: 6.6.80
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.2
Kernel Version: 6.18.13-zen-1-zen (64-bit)
Graphics Platform: Wayland
Graphics Processor: virgl

ADDITIONAL INFORMATION
kwinrulesrc example:

[e0c8a234-0d7f-4d34-9160-cbad33did6da]
Description=haruna test
excludefromcapture=true
excludefromcapturerule=2
types=1
wmclass=org.kde.haruna
wmclasscomplete=true
wmclassmatch=1

When I do the same for konsole or dolphin which are shipped as part of the
image on KDE Linux it works like expected

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

Reply via email to