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.
Ctrl+mousewheel to zoom doesn't work
after small investigation, next code in UMLTopComponent cause this issue: // for(MouseWheelListener listener : diagramView.getMouseWheelListeners()) { diagramView.removeMouseWheelListener(listener); } // not sure what was the reason to do it. if it's the only way to make scrolling in diagram view it may be visual library issue and need to be filed against visual library. otherwise we got no wheel evens in our action.
regresssion from http://hg.netbeans.org/uml-main/rev/937ca322734b fix for issue 137362
The problem is that if a JComponent has ANY mouse wheel listeners then the JScrollPane can not handle the scrolling of the view via the mouse wheel. We could implement that behavior ourselves, however the native handling is always better. For example on the Mac the JScrollPane will handle both horizontal and vertical scrolling via the mouse wheel. However since there is not MouseEvent for horizontal mouse wheel behavior our own implementation can not handle this. However if we let the JScrollPane handle the mouse wheel the horizontal scrolling will work correctly. Since all of the other editor can vertically and horizontally scroll (since they use the JScrollPane implementation) it would be strange if we do not also handle this situation. Also since we did not have this behavior in 6.1 I do not think we need it in 6.5.
can you give more details? what behavior we don't have in 6.1? we have alt-wheel zoom and wheel scroll at the same time. it's really common for visual tool to have ctrl-wheel zoom also, the same as wheel scrolling also. having a lot of won't fix may hit quality and usability of our tool.
ok, no more support for ctrl+mousewheel to zoom.