| [ Return to Bugs & Features | Roadmap 1.1 | SVN ⇄ GIT ]
STR #1601
Application: | FLTK Library |
Status: | 1 - Closed w/Resolution |
Priority: | 3 - Moderate, e.g. unable to compile the software |
Scope: | 2 - Specific to an operating system |
Subsystem: | WIN32 |
Summary: | Fl_Scroll: scrollbar disappears on dual monitor with neg. coordinates |
Version: | 1.1-current |
Created By: | AlbrechtS |
Assigned To: | matt |
Fix Version: | 1.1-current (SVN: v5713) |
Update Notification: | |
Trouble Report Files:
Trouble Report Comments:
|
#1 | AlbrechtS 09:38 Feb 13, 2007 |
| Another dual monitor problem :-(
Test with: test/scroll.exe Dual monitor setup: secondary monitor left of main monitor (with negative x coordinates).
Start scroll.exe and move the window to the display with negative coordinates, then shrink the window such that both scrollbars are visible. When moving the horizontal scrollbar, the vertical scrollbar disappears (the srolled contents overdraw the scrollbar). The scrollbar is drawn again, when the window is resized.
The same happens to the horizontal scrollbar, if the secondary display is above the primary display (at negative y coordinates).
This appears to be a problem with negative coordinates within Fl_Scroll.
Albrecht
P.S. Thanks, Matt, for your very fast responses and fixes to STR 1599 and 1600 - tested, and it works :-) | |
|
#2 | matt 06:03 Feb 18, 2007 |
| I just tested this on my Mac and it works just fine. What OS is this? Could that be a driver problem? | |
|
#3 | matt 03:40 Feb 19, 2007 |
| Thanks for the snapshots. I will try to organize a second screen for my XP machine and see if I can duplicate this issue. It is just so weird that it doesn't show in the Mac code. Very suspicious ;-). | |
|
#4 | AlbrechtS 03:48 Feb 19, 2007 |
| It's Windows (XP, SP2). I posted two files, scroll_01.pbg that shows movement of the vertical scroll bar, and scroll_02.png that shows movement of the horizontal scroll bar.
I tested this now after setting the windows graphic card hardware acceleration to none (in German: Hardwarebeschleunigung: keine). The graphic card (driver) is ATI Radeon 7000 / Radeon VE, FWIW.
Is it a driver problem? I don't know.
FYI: I'm using the cygwin X server on this windows box, and when I start scroll.exe on a Linux box with the Windows box as X server, then the scrolling works okay, even with the X server's window on the secondary screen with negative coordinates. The X server setup is called something like a "multi window mode", i.e. every X window is in its own Windows window (no X root window).
Albrecht | |
|
#5 | matt 08:06 Feb 20, 2007 |
| I think I fund the bug in FLTK. I will post a solution soon. | |
|
#6 | matt 15:58 Feb 24, 2007 |
| Fixed in Subversion repository.
First attempt at fixing all WIN32 scrolling issues. This code uses some (legal) trickery and should take multi-monitors and partially obscured windows into account. Albrecht, I do not have a multi-monitor setup. Please verify this fix on your machine. Thanks. | |
[ Return to Bugs & Features ]
|
| |