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.
reproducible with 070523 you can easily reproduce the issue with test.scroll.ScrollTest steps for scene jumps on widget selection: 1. start test.scroll.ScrollTest 2. Zoom In with mouse wheel in a way that only 1/9 of widget with scrolling remains visible 3. try to click on resize button (blue square) scene jumps In my case (my application) widget on a scene has associated Move Action and after click jumps to new location too.
It is a feature. Everytime any action locks the event processing (MoveAction, ...), then the view is scrolled to show the locked widget completely if possible. Currently there is no option for disabling this auto-scroll behavior. To fix it, there has to be an option added to the Scene class. Or there would have to be sort of "auto-scroll-on-select" action created.
Strange feature... because of unexpected click result, in suggested steps it may lead to unexpected resize and in my case it moves objects it will be good If I will be able to disable this feature it also may lead to more standard way when scrolling activated on mouse approaching to area border, when now scrolling is activated just after attempt to move any widget behind visible area (it's was a be surprise for me when I start using library), In our work for example we often use OpenOffice as a baseline, and I see no move to activated object here, and I see scroll on area border only here (if mouse is used, It may have sense to scroll if object is selected by keyboard but it may be application dependent and not to be implemented in library).
Sounds reasonable. I will look at particular steps, after issue #101523 would be be fixed. This issue affect the scrolling mechanism, so I do not want to create two conflicting patches.
Yes, this one describe similar to 101523 behavior, but suggest a bit another solution write now if I have widget on a border and apply resize border (using select action) widget jumps and even may moves a bit and corrupt my carefully adjusted diagram layout, didn't try with patch from 101523 yet
I have not tried your use-case with the patch too but I think it should work.
Settings as fixed since the issue #101523 has been fixed. Please, could you verify it with tomorrow's build. If the problem still remains, reopen the issue. Thanks.
ok, widget seems to stay where it was, but scene jumps ( but scene still jumps, ok, may be considered as a feature but see next) may be I'll file separate issue to track case with resizing: i.e. if I click on resize square scene jumps and have cursor over unexpected location, I can continue resizing and it works fine (i.e. no big size changes as it was before, but cursor position is confusing) I also file new issue with widgets jumps
With a new scrolling logic, the scene does not jump while you selecting a widget.