klayout
klayout copied to clipboard
KLayout 0.27 zoom functionality
I'm working with the current KLayout 0.27 version on CentOS7 and Win10. The zoom function using the right mouse button does not work as expected. Zoomout using the RMB works as expected in the Main Layouut and the Navigator window. Zoomin using the RMB works only in the Navigator window as expected. In the Main Layout window using the RMB to zoomin always executes a "fit window".
I used the binaries provided on the official website to test this.
RMB is using gestures for three functionalities: move down right => zoom in move upper right => win fit move left => zoom out The last two also draw a rectangle, so it’s not obvious visually that they don’t do zoom in. A feature request would be to change the cursor for these two cases to make the functionality more obvious.
Only the main layout window uses gestures, in navigator rmb always zooms in.
Many thanks for the hint. I misunderstood the manual here.
Just one personal comment: it would be more logical for me, if lower left+drag upper right would zoomin and upper right+drag lower left would zoom out. That would be a more natural move for my hand. Most other layout editors work that way.
Ok, the navigator could use the win fit/zoom out gesture too. But as it's static, to me it does not seem to need to zoom fit or zoom out and there is still F2.
BTW: "most layout editors work this way ..." - how many did you check?
Here is for example:
- KiCAD PCB module: left mouse button + drag = zoom in, right mouse button + drag = zoom out
- Virtuoso layout: rmb always zoom in
- Calibre DRV: rmb move right + down or up: zoom in, rmb move left + down or up: zoom out
I don't see a common scheme here.
Matthias
I don't think this is a bug. I would like to close this issue.
It's a feature, not a bug. But it can be unexpected for the uninitiated user.
A feature request would be to make the gestures more obvious by changing the "draw rectangle for zoom in" into something else for win fit/zoom out. NLView changes the cursor to "win fit" text or displays an arrow and x2, x3, x4 when zooming out.
First of all - I like the zoom functionality of KLayout using the right mouse button. I only ask here to swap the functionality of "UR->LL" (=zoomfit) and "UL->LR" (=zoomout). The reason for this is that when I'm looking at layout I frequently do many zoomin+zoomout steps to peak at different location in the layout. Here it feels for me much easier to move my mouse just from LL to UR and then UR to LL again. Doing LL-UR and then UL-LR is not so easy to do.
For new users I suggest to add a zoom and zoomfit button in the GUI. zoomfit should just do a zoomfit. The zoom button should aks for two points and then do a zoomin or zoomout. For a new starter is it not obvious that the right mouse button carries the zoom function.
You also asked which Layout editors I used up to now - here's the list:
- Daisy Chipmaster
- CAECO Layout
- Silicon Compilers Led
- K2 Technology Quickview
- Mentor Graphics ICStation
- Cadence icfb and Virtuoso