Windows: new window obscured by taskbar
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Panda3D |
Invalid
|
Low
|
Unassigned |
Bug Description
I copied this from the panda forums:
When Panda windows are created, they appear partially underneath my vertical Windows taskbar. Not a big problem, but if a fix is desired, I have some info..
Raymond Chen addresses this issue in "The Old New Thing" (MonitorFromWindow) and Google Chromium also has code (custom_
The trick is to query for monitor work area using MonitorFromWind
Windows XP SP2
Panda3D 1.5.3
-------
In the forum, drwr responded:
Sounds like a useful fix to have. The only subtlety will be to place the window smartly when the user does not ask for a particular window placement, but to place it precisely where the user says (regardless of the taskbar) when the user does ask for a particular placement.
David
Changed in panda3d: | |
importance: | Undecided → Low |
Changed in panda3d: | |
status: | Incomplete → Invalid |
Hmm, can you be a bit more precise? Is it only for fullscreen, or also for windowed? If the latter, you can easily work around it by giving the window a window origin (I believe the window has one by default so a default window should not get obscured by a taskbar.)
What should I do to reproduce it? (sample code?)