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 83324 - In-place editing is buggy when the Design View scrolls using scrollbar
Summary: In-place editing is buggy when the Design View scrolls using scrollbar
Status: NEW
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Girish Balachandran
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-23 23:09 UTC by Jiri Kopsa
Modified: 2006-10-09 22:52 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kopsa 2006-08-23 23:09:07 UTC
Steps to reproduce:
* Enter in-place editing mode in design view.
* Scroll with scrollbar or scroll wheel.
* In-place text field remains on the original position - which is not correct.

This bug is even more significant in the "add element" scenario (user adds a new
element, which appears in an 'uncomfortable' location, user uses the scroll
wheel, and ... it's broken).
Comment 1 Girish Balachandran 2006-09-07 04:30:07 UTC
I have partially fixed this bug by not allowing wheel scrolling when inplace
text field is being shown. But, I could not find a way to disable scroll bar
scrolling. 

I guess this is a inherent problem with using a glass pane. You will notice this
in Java editor also. In the java editor, bring up the context sensitive Javadoc
by pressing ctrl+enter, you will see that the javadoc pane is shown on a glass
window. When this window is up, try wheel scrolling and scrollbar scrolling. In
both the cases the window will be stationary and the content behind will scroll
independently.

Given the fact that wheel scrolling is disabled and user can easily get out of
the edit mode by pressing escape/enter or by clicking some other component, this
bug does not really annoy the user IMO. So, I am reducing the priority to P4
enhancement to look at it later.
Comment 2 Jiri Kopsa 2006-10-09 22:52:18 UTC
IMO, Instead of disabling the scrolling, the widgets on the glass pane should
scroll with the contents of the editor.

I've filled the bug for Java editor:
http://www.netbeans.org/issues/show_bug.cgi?id=86772