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 199311 - Cannot drag scrollbars in TopComponent's
Summary: Cannot drag scrollbars in TopComponent's
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.1
Hardware: PC Linux
: P2 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2011-06-09 14:15 UTC by Jesse Glick
Modified: 2011-12-12 14:20 UTC (History)
0 users

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 Jesse Glick 2011-06-09 14:15:48 UTC
Product Version: NetBeans IDE Dev (Build 20110608-7cb3dff0ecea)
Java: 1.7.0-ea; Java HotSpot(TM) Client VM 21.0-b13
System: Linux version 2.6.32-32-generic-pae running on i386; UTF-8; en_US (nb)
with --laf Metal

In this build, when I try to use the mouse to drag the scrollbar of any TC - editor, explorer-type, Bugzilla, profiler snapshot - which is docked normally (editor mode or not), the scrollbar moves briefly but then stops; the cursor changes to the "drag" icon (arrow plus box); and a red drag outline appears around the window, all as if I had initiated a drag on the title bar.

This does not happen for windows open in sliding mode.

The bug happens even if I am careful to keep the mouse pointer within the bounding rectangle of the scrollbar.

Workaround is to press ESC while continue to drag the scrollbar, without releasing the mouse button.
Comment 1 Jesse Glick 2011-06-09 14:25:35 UTC
Not sure if it is related, but I just noticed that Window > Editor (Ctrl-0) is also disabled even though the editor is open on one file. Close All Documents was enabled, but Documents... was not; after selecting Close All Documents, it became disabled as expected. Now after reopening my file using File > Recent File, all these menu items become enabled again. Perhaps despite canceling the drag with ESC the window system still believes the TC is gone somewhere. But I am not sure I can reproduce this bug.
Comment 2 Stanislav Aubrecht 2011-06-09 15:30:33 UTC
core-main 070d711e992b
Comment 3 Jesse Glick 2011-06-09 17:46:31 UTC
Oddly, I was unable to reproduce in 20110609-0827ab3536ac (which does not have that fix).
Comment 4 Stanislav Aubrecht 2011-06-10 08:41:35 UTC
(In reply to comment #3)
> Oddly, I was unable to reproduce in 20110609-0827ab3536ac (which does not have
> that fix).

it should be reproducible when dragging in a non-editor window because i've turned dragging of editor modes off in the meantime
Comment 5 Quality Engineering 2011-06-11 15:14:51 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/070d711e992b
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #199311 - start mode drag only when clicked in the tabs area
Comment 6 ttokoly 2011-12-12 14:20:08 UTC
Product Version: NetBeans IDE 7.1 (Build 201112071828)
Java: 1.7.0_02; Java HotSpot(TM) Client VM 22.0-b10
System: Linux version 3.0.0-14-generic running on i386; UTF-8; en_US (nb)

Works for me -> verified.