adynis Posted May 28 Posted May 28 Hi, I am experiencing an issue with DVBViewer's taskbar icon placement in a multi-monitor configuration on Windows. The Problem: In Windows settings, I have configured the taskbar to show app icons on the specific monitor where the application window is currently active. While this works perfectly for all other applications, DVBViewer does not behave correctly. When I move the DVBViewer window to Monitor 2, its taskbar icon remains stuck on Monitor 1. Interestingly, if I minimize DVBViewer while it is on Monitor 2, the icon immediately moves to the Monitor 2 taskbar. However, as soon as I restore the window, the icon jumps back to Monitor 1. What I've Tried: I suspect the issue is related to the internal option "Show DVBViewer in: Taskbar/Both". Is there any solution to be able to show DVBViewer icon in the taskbar of the Monitor2 only, when I move the app to Monitor2 ? Thank you! Quote
Griga Posted May 29 Posted May 29 vor 5 Stunden schrieb adynis: Is there any solution to be able to show DVBViewer icon in the taskbar of the Monitor2 only, when I move the app to Monitor2 ? Unfortunately there is no easy fix. The underlying problem is described here. I've tried the fix posted at the bottom of the discussion. It works, as far as it concerns the task bar icon, but after applying it I couldn't minimise DVBViewer anymore. Anyway, I'll come back to it, maybe I can find a better fix later... Quote
Griga Posted May 29 Posted May 29 I've found a surprisingly simple fix for it, and I wonder why it wasn't mentioned in the stackoverflow discussion. I just have to move the invisible Delphi application window (width and height = 0), that is linked to the taskbar icon, together with the DVBViewer main window. Or more precise, each time when the main window position changes, move the invisible zero-size application window to its center, so that the taskbar icon appears on the corresponding monitor, as if linked to the DVBViewer main window. The position of the invisible application window doesn't seem to matter in old Delphi applications. Nevertheless the question remains, if it may trigger unexpected side effects. Up to now I can see none. Quote
adynis Posted May 30 Author Posted May 30 (edited) Hi, Is this something I could do by myself (as a end-user) ? or it needs to be changed in the source code of DVBViewer ? LaterEdit - Oky, Now I've seen the stackoverflow link ... oky, source code of the UI - complicated Edited May 30 by adynis Quote
Griga Posted May 31 Posted May 31 vor 6 Stunden schrieb adynis: Is this something I could do by myself (as a end-user) ? or it needs to be changed in the source code of DVBViewer ? It requires additional code. The fix will be available in the next release (coming soon). Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.