This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 78051 - Scrolling fails on PC with two monitors
Summary: Scrolling fails on PC with two monitors
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: David Simonek
URL:
Keywords: DUAL_MONITOR
Depends on:
Blocks:
 
Reported: 2006-06-16 11:06 UTC by gs
Modified: 2008-12-22 12:23 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gs 2006-06-16 11:06:49 UTC
On a PC with two monitors position the secondary monitor to the left of the 
primary monitor and align the bottoms of the monitors.

Start Netbeans on the primary monitor, then drag the Netbeans window to the 
bigger secondary monitor and resize the window to nearly full screen. 
Scrolling now fails.

When scrolling an editor window or a navigator window the system adds new 
lines to the window as it is supposed to, but the rest of the window stays 
unchanged without scrolling. It does not matter wether you cause the scrolling 
with the mouse or the keyboard. If you select part of the unchanged area, the 
correct text will appear.

If you resize the window to a small size, scrolling will be normal.
If you then resize the window to be big, scrolling fails again.
Now drag the window, such that you can see part of it on the primary screen, 
scrolling will now be normal. Drag the window back to the secondary monitor 
and scrolling will stay normal.
If you resize the window to be a little bigger or smaller, scrolling will stay 
normal.

Thus scrolling fails when the Netbeans window is on a secondary monitor and 
you make a big resize of the window. It seems to be due to the secondary 
monitors location (top left corner has negative coordinates). If you move the 
secondary monitor to have positive coordinates, scrolling will be normal.
Comment 1 David Simonek 2007-01-03 17:03:13 UTC
Eval: Hello,

Sorry but I can't reproduce. Please I need following things:

- it looks like Swing/JDK bug, not Netbeans. Try to run Swing2 demo application
from JDK sources, try to run NetBeans with various versions of JDK and see if
problem persists.

If only NetBeans has this problem, please reopen and describe. If all java apps
have thins problem, please enter JDK bug and post its number here, thanks.