DC++ displays/creates window offscreen

Bug #512032 reported by cologic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DC++
Fix Released
Undecided
Unassigned

Bug Description

If disconnecting secondary monitor on which DC++ sits, doesn't relocate itself to be visible. Debatable, could be wishlist-priority. Worse, and definitely a real bug: it doesn't notice on next startup that it's creating a window off-screen. Presumably the same issue exists for people who dramatically change their screen size.

Steps to reproduce:
1) Resize display to high resolution or add secondary monitor.
2) Move DC++ to far reaches of new display layout.
3) Reduce screen resolution. Expected result: DC++ (like apparently every other program I run) notices and moves itself to remain visible. Actual result: it does nothing and disappears, only to be recovered via keyboard window movement shortcuts.
4) Close DC++. Restart it. Expected result: DC++ notices it's trying to display offscreen. It displays offscreen (invisibly) again. Actual result: same as in step 3.

eMTee (realprogger)
Changed in dcplusplus:
status: New → Confirmed
cologic (cologic)
description: updated
Revision history for this message
poy (poy) wrote :

could you try to catch what messages Win sends on such an event, if any? (with Spy++ for ex.)

Revision history for this message
poy (poy) wrote :

the issue of wrong placement on next restart should be fixed.

moving the window when the screen resolution changes should be Windows' job, and i don't see where DC++ could interfere with it.

Changed in dcplusplus:
status: Confirmed → Fix Committed
Revision history for this message
eMTee (realprogger) wrote :

"moving the window when the screen resolution changes should be Windows' job"
Not in dual/more monitor enviroment/desktop and surely not on XP. (Maybe later versions do the job, especially W7)

Revision history for this message
poy (poy) wrote :

Fixed in version 0.760.

Changed in dcplusplus:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.