marticliment / ElevenClock

ElevenClock: Customize Windows 11 taskbar clock
https://www.marticliment.com/elevenclock/
GNU General Public License v3.0
2.33k stars 175 forks source link

[ISSUE] Hovering over preview of open apps on taskbar removes Elevenclock #626

Closed ErassyJR closed 2 years ago

ErassyJR commented 2 years ago

Describe the bug

Just Hovering over preview of open application on taskbar removes clock and shows default clock.

Expected behaviour

ElevenClock must not dissapear.

Screenshots

Screenshot (26)

The Log


ElevenClock's 3.2.3 (v3.23) log: Select all the text and hit Ctrl+C to copy it All modules loaded successfully and sys.stdout patched correctly, starting main script Translator function set language to "en"


Log legend: ๐Ÿ”ต: Verbose ๐ŸŸข: Information ๐ŸŸก: Warning ๐ŸŸ : Handled unexpected exception ๐Ÿ”ด: Unhandled unexpected exception ๐ŸŸฃ: Handled expected exception

๐Ÿ”ต Initializing clock 0... ๐Ÿ”ต Using taskbar background color ๐ŸŸข Regular sized taskbar ๐Ÿ”ต Monitor geometry: PyQt5.QtCore.QRect(0, 0, 1366, 768) ๐ŸŸก Taskbar at bottom ๐ŸŸข Clock on the right ๐ŸŸข Using qt's default positioning system ๐Ÿ”ต Clock geometry: PyQt5.QtCore.QRect(1166, 720, 200, 48) ๐Ÿ”ต Font families: ['Segoe UI Variable Display', 'sans-serif'] ๐Ÿ”ต Font size: 9.3 ๐ŸŸข Using white text (dark mode) ๐Ÿ”ต tDateMode: ddd: d/MM/yyyy ๐Ÿ”ต tTimeMode: HH:mm tt ๐Ÿ”ต Loaded date time format: %H:%M:%Sยท %p %a: %#d/%m/%Y ๐Ÿ”ต Full screen rect: (0, 0, 1366, 768) ๐ŸŸฃ Expected AttributeError on backgroundLoop thread ๐Ÿ”ต Show/hide loop started with parameters: HideonFS:True, NotHideOnTB:False, HideOnRDP:False, ClockOn1Mon:True, NefWSMethod:True, DisableNotifications:True, legacyFullScreenMethod:False ๐ŸŸก Desktop button enabled ๐Ÿ”ต Restart loop: 1 ๐ŸŸข Loaded clocks in 1.1652734279632568 ๐ŸŸฃ Expected AttributeError on backgroundLoop thread ๐ŸŸข Cached text input host hwnd: 65952 ๐ŸŸฃ Expected AttributeError on backgroundLoop thread ๐ŸŸก System tray icon disabled ๐Ÿ”ต Starting update check ๐Ÿ”ต Low cpu mode is set to False. DisableNotifications is set to False ๐ŸŸข Loaded everything in 2.6254613399505615 ๐Ÿ”ต Announcement URL: http://www.somepythonthings.tk/resources/elevenclock.announcement ๐Ÿ”ต Version URL: https://versions.somepythonthings.tk/versions/elevenclock.ver ๐ŸŸข Updates not found ๐Ÿ”ต Image URL: https://www.somepythonthings.tk/resources/rose.webp ๐ŸŸก Closing clock on {'Monitor': (0, 0, 1366, 768), 'Work': (0, 0, 1366, 720), 'Flags': 1, 'Device': '\\.\DISPLAY1'} ๐Ÿ”ต Initializing clock 0... ๐Ÿ”ต Using taskbar background color ๐ŸŸข Regular sized taskbar ๐Ÿ”ต Monitor geometry: PyQt5.QtCore.QRect(0, 0, 1366, 768) ๐ŸŸก Taskbar at bottom ๐ŸŸข Clock on the right ๐ŸŸข Using qt's default positioning system ๐Ÿ”ต Clock geometry: PyQt5.QtCore.QRect(1166, 720, 200, 48) ๐Ÿ”ต Font families: ['Segoe UI Variable Display', 'sans-serif'] ๐Ÿ”ต Font size: 9.3 ๐ŸŸข Using white text (dark mode) ๐Ÿ”ต tDateMode: ddd: d/MM/yyyy ๐Ÿ”ต tTimeMode: HH:mm tt ๐Ÿ”ต Loaded date time format: %H:%M:%Sยท %p %a: %#d/%m/%Y ๐Ÿ”ต Full screen rect: (0, 0, 1366, 768) ๐Ÿ”ต Show/hide loop started with parameters: HideonFS:True, NotHideOnTB:False, HideOnRDP:False, ClockOn1Mon:True, NefWSMethod:True, DisableNotifications:True, legacyFullScreenMethod:False ๐ŸŸก Desktop button enabled ๐Ÿ”ต tDateMode: ddd: d/MM/yyyy ๐Ÿ”ต tTimeMode: HH:mm tt ๐Ÿ”ต Loaded date time format: %H:%M:%Sยท %p %a: %#d/%m/%Y ๐ŸŸข Cached text input host hwnd: 65952 ๐Ÿ”ต Restart loop: 1 ๐Ÿ”ต Starting update check ๐Ÿ”ต Version URL: https://versions.somepythonthings.tk/versions/elevenclock.ver ๐ŸŸข Updates not found ๐Ÿ”ต Announcement URL: http://www.somepythonthings.tk/resources/elevenclock.announcement ๐Ÿ”ต Image URL: https://www.somepythonthings.tk/resources/rose.webp ๐Ÿ”ต Copying log to the clipboard... ๐ŸŸข Log copied to the clipboard successfully! ๐Ÿ”ต Copying log to the clipboard... ๐ŸŸข Log copied to the clipboard successfully! ๐Ÿ”ต Copying log to the clipboard...

marticliment commented 2 years ago

Yes, that's due to Windows focus policy. When the taskbar has an active focus it draws itself over any other app, and nothing can be done about it.