feat: tray tooltip fix, View Logs, connection status, GStreamer PATH fix#27
feat: tray tooltip fix, View Logs, connection status, GStreamer PATH fix#27aayushprsingh wants to merge 4 commits intoleapbtw:mainfrom
Conversation
The pystray icon name contained a literal \n which rendered as a broken newline in the tooltip. Changed to just APP_NAME for clean display.
… Windows path parsing - Fix tray tooltip newline (was showing literal \\n) - Add View Logs menu item (opens uxplay log in Notepad) - Add connection status monitoring (tooltip shows Running/Stopped every 5s) - Fix GStreamer DLL PATH resolution on startup - Fix Windows path parsing (shlex.split was corrupting backslashes in args) - Remove Record Screen toggle (requires UxPlay 1.73+ which has no pre-built Windows binary)
Tkinter-based log viewer is unreliable when packaged with PyInstaller due to font/scrollbar rendering issues in the packaged environment. Reverting to Notepad which works reliably. GUI viewer may be revisited in a future release using a web-based approach.
Update (2026-04-05)GUI Log Viewer reverted to Notepad: The Tkinter-based log viewer had font/scrollbar rendering issues when packaged with PyInstaller on Windows. View Logs now opens the log file in Notepad, which is reliable. A web-based approach may be revisited in a future release. |
os.startfile with .log files doesn't work reliably on Windows when the file association is not set. Using subprocess.Popen with explicit notepad.exe path ensures it always works.
Update 2 (2026-04-05)View Logs now works correctly: Fixed to use subprocess.Popen(['notepad.exe', path]) instead of os.startfile(). The .log file association on Windows was preventing os.startfile from opening Notepad. |
|
as i wrote in the README i am working on other branches and i'm rewriting uxplay-windows from scratch. I'll still take a look at your work but merging is unlikely |
|
Thanks for the update! I understand about the rewrite. A few questions:
|
I’m currently rewriting the project in C++ in the The rewrite is working quite well so far. One of my goals is to drop Bonjour as a dependency, since managing its installation on Windows is an hassle and it's old and unreliable software in my experience. The C++ version already works without Bonjour by using BLE pairing. However, that’s not a complete replacement because some desktop PCs may only have LAN and no wireless/BLE hardware. Ideally I’d like to use Apple’s mDNSResponder, which is essentially the core component of Bonjour and is open source. The issue is that it’s built with MSVC while this project uses MSYS2, so it’s not straightforward to integrate as-is. If you have the time and interest, this might be an area where help would be very welcome. There are also some forks of mDNSResponder around, but I’d prefer either using Apple’s upstream code directly or maintaining a minimal fork tailored to what uxplay-windows actually needs. |
Summary of Changes
Fixes
Features
Known Limitation