TimUntersberger / nog

A tiling window manager for Windows
MIT License
697 stars 20 forks source link

Some components in app bar don't reflect the display they're on #279

Closed ramirezmike closed 3 years ago

ramirezmike commented 3 years ago

Version (which release did you use?) e8d14d8

Describe the bug

CurrentWindow, Fullscreen Indicator and Split Direction all display the state of the focused display across all displays.

Example: if you have a window fullscreened on one monitor the fullscreen indicator will show on the appbar of all monitors. Example: if you are using the CurrentWindow component it will show the name of the focused window of the focused monitor on the appbars of all monitors rather than each monitor showing the title of their own focused window.

To Reproduce

Steps to reproduce the behavior:

  1. Run nog with multiple monitors
  2. Configure the appbar to use the CurrentWindow component somewhere
  3. Manage a window on each monitor
  4. Focus a display and a window on that display

Expected behavior

Each CurrentWindow component should output the "focused" window on the display they're on

Actual behavior

All CurrentWindow components show the title of the focused monitor's focused window.

ramirezmike commented 3 years ago

also, a small regression I noticed was moving a workspace across monitors leaves them unordered that I'll fix with this