Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] the active_window widget does not work when monitor_exclusive is true #86

Open
Fangjin98 opened this issue Apr 27, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Fangjin98
Copy link

Expected Behavior

I have 2 monitors. The active window title should be shown exclusively for the bars on the active window screen, when the monitor_exclusive is true.

Current Behavior

The active window title won't be shown on any of bars of both monitors.

Possible Solution

Add logging.info(f"The monitor name is {monitor_name}, and the screen name is {self.screen().name()}") in active_window.py and the prints are as follow:

2023-04-27 19:24:16 INFO active_window.py: The monitor name is \\.\DISPLAY1, and the screen name is LF24T35
2023-04-27 19:24:16 INFO active_window.py: The monitor name is \\.\DISPLAY1, and the screen name is L24e-30

Since monitor_name does not equal to both screens, the program will always execute self._window_title_text.hide().

Context (Environment)

  • Windows 11 Pro 22H2 22621.1635
  • Python 3.10.0
  • pyqt6 6.3.1
  • pywin32 304
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants