GithubHelp home page GithubHelp logo

Comments (7)

guzz46 avatar guzz46 commented on September 21, 2024 1

I believe its the only window rule, I've reconfigured labwc multiple times since, here's my window rule section

# Window Rules
#   - Criteria can consist of 'identifier' or 'title' or both (in which
#     case AND logic is used).
#   - 'identifier' relates to app_id for native Wayland windows and
#     WM_CLASS for XWayland clients.
#   - Criteria can also contain `matchOnce="true"` meaning that the rule
#     must only apply to the first instance of the window with that
#     particular 'identifier' or 'title'.
#   - Matching against patterns with '*' (wildcard) and '?' (joker) is
#     supported. Pattern matching is case-insensitive.

<!--
<windowRules>
  <windowRule identifier="*"><action name="Maximize"/></windowRule>
  <windowRule identifier="foo" serverDecoration="yes"/>
  <windowRule title="bar" serverDecoration="yes"/>
  <windowRule identifier="baz" title="quax" serverDecoration="yes"/>
</windowRules>
-->

# Example below for `lxqt-panel` and `pcmanfm-qt \-\-desktop`
# where 'matchOnce' is used to avoid applying rule to the panel
# configuration window with the same 'app_id'.

<windowRules>
  <windowRule identifier="mpv" matchOnce="true">
    <skipTaskbar>no</skipTaskbar>
    <action name="MoveTo" x="981" y="564" />
    <action name="ToggleAlwaysOnTop"/>
  </windowRule>
</windowRules>

from labwc.

tokyo4j avatar tokyo4j commented on September 21, 2024

MPV is shown in the window switcher as expected with your window rule in my environment.
Is it the only <windowRules> in rc.xml? Or have you Reconfigured or restarted labwc after modifying rc.xml?

from labwc.

droc12345 avatar droc12345 commented on September 21, 2024

Does mpv have it's own window open?
And are we talking about a wayland window or Xwayland?

I have my mpv configured to not show window when playing audio files, and that won't show up in switcher.
Mine does show up when playing movies or anything where the mpv window is open.

from labwc.

guzz46 avatar guzz46 commented on September 21, 2024

This happens when playing a video, I don't know if its an xwayland or wayland window, but the steam client shows up in the window switcher and its an xwayland window, this is on labwc 0.7.1 if that makes any difference.

from labwc.

Consolatis avatar Consolatis commented on September 21, 2024

The issue is likely ToggleAlwaysOnTop, the current master branch (and next release) should fix this.

from labwc.

guzz46 avatar guzz46 commented on September 21, 2024

You're right, the problem goes away when I remove the ToggleAlwaysOnTop option.

from labwc.

Consolatis avatar Consolatis commented on September 21, 2024

You're right, the problem goes away when I remove the ToggleAlwaysOnTop option.

Thanks for confirming.

from labwc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.