Jump to content

Taskbar icon stays on Monitor 1 when DVBViewer is moved to Monitor 2 (Multi-monitor setup)


Recommended Posts

Posted

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!

Posted

 

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... 

 

Posted

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.

 

Posted (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 by adynis
Posted
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).

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...