peterfajdiga / peterfajdiga/karousel

[Feature] Respect Layer Window Rule (maybe a bug?)

Open
#126 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.1k
Forks
45
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
It happens in a few programs, but the most prominent and irritrating is the Picture-in-Picture of Firefox. It doesn't work by default (under Wayland) in KDE but one can set the "Layer" in "Window Rules" to either "On-Screen display" or "Overlay". I also tried others (like "popup" etc.)

Describe the solution you'd like
Either respect window layers by default, or add the ability to add it as a rule in the Karousel-settings rules.

Describe alternatives you've considered
I have tried adding a rule like so:

{
    "class": "Firefox",  # (also tried "firefox firefox")
    "caption": "Picture-in-Picture",
    "tile": false
}

but for some reason it won't work.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing Karousel's existing settings-rule handling and how KDE/KWin exposes window layers; reproduce the Firefox Picture-in-Picture case under Wayland. Clarify whether default layer handling or a configurable rule is in scope, then verify the chosen behavior with the supplied Firefox rule scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.