#17654 closed enhancement (fixed)
[Patch] Notify users of viewport following activation
Reported by: | MelioraCogito | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 20.01 |
Component: | Core | Version: | latest |
Keywords: | Viewport Following | Cc: |
Description
Can't seem to find the preference which enables/DISABLES view auto-scrolling when drawing ways — centering the screen view to the newly created way point.
This is a damn annoying feature and I want to disable it.
Attachments (3)
Change History (26)
comment:1 by , 6 years ago
follow-up: 5 comment:2 by , 6 years ago
Maybe we should remove that shortcut. I already read this issue several times here in the trac or in the forum. It semms it is too easy to hit it instead of Ctrl+F. If someone really wants to use the shortcut he can manually set it again.
by , 6 years ago
Attachment: | 17654.patch added |
---|
follow-up: 9 comment:4 by , 6 years ago
On the other hand I miss the ability to configure a shortcut for "Edit: Move Node" action. The attached patch implements both changes (no shortcut by default, but possibility to configure one)
follow-up: 11 comment:5 by , 6 years ago
Replying to Klumbumbus:
Maybe we should remove that shortcut.
If we remove it, many people will complain. Maybe we could instead make it clear and display somewhere that "Viewport following is enabled, press Ctrl+Shift+F to disable it".
by , 6 years ago
Attachment: | 17654-v2.patch added |
---|
follow-up: 8 comment:6 by , 6 years ago
If we remove it, many people will complain. Maybe we could instead make it clear and display somewhere that "Viewport following is enabled, press Ctrl+Shift+F to disable it".
Yes, maybe better to try this first. The new patch shows the message when the mode is enabled and another when it is disabled.
I see only one problem: When you press the shortcut and react quickly by pressing it again the messages are shown too long. It would be better to replace the message in the moment when the keys are pressed again, but I found no simple way to implement that.
follow-up: 10 comment:8 by , 6 years ago
Replying to GerdP:
I see only one problem: When you press the shortcut and react quickly by pressing it again the messages are shown too long. It would be better to replace the message in the moment when the keys are pressed again
This would require an enhancement of the Notification system:
- add an optional type or id to notifications, allowing to identifying them
- add a display mode for similar/identical notifications: append or replace
- adapt NotificationManager accordingly
comment:9 by , 6 years ago
Replying to GerdP:
On the other hand I miss the ability to configure a shortcut for "Edit: Move Node" action.
Several years ago, I discovered a workaround for this problem. Add the button for "Edit: Move Node" to the toolbar. Then you can configure a shortcut. (I use Command+Shift+M on Mac.) Presumably this would work for any other action which has a button, and does not have the possibility to configure a shortcut.
comment:10 by , 5 years ago
Replying to Don-vip:
Replying to GerdP:
I see only one problem: When you press the shortcut and react quickly by pressing it again the messages are shown too long. It would be better to replace the message in the moment when the keys are pressed again
This would require an enhancement of the Notification system:
- add an optional type or id to notifications, allowing to identifying them
- add a display mode for similar/identical notifications: append or replace
- adapt NotificationManager accordingly
The issue came up again in the German forum. Any idea how much work that would be? I guess we can first apply my simple patch?
comment:11 by , 5 years ago
Replying to Don-vip:
Replying to Klumbumbus:
Maybe we should remove that shortcut.
If we remove it, many people will complain.
I don't think so, as long as the users can restore the shortcut in the preferences if they really need it.
Displaying a notification doesn't really solve the problem as this can easily be overlooked.
comment:14 by , 5 years ago
Keywords: | Viewport Following added |
---|
comment:15 by , 5 years ago
Milestone: | → 20.01 |
---|---|
Summary: | View Autoscrolling During Way Creation → [Patch] Notify users of viewport following activation |
Type: | defect → enhancement |
@GerdP: I agree with your patch
comment:16 by , 5 years ago
I've just learned that it doesn't work well when the shortcut was removed and the mode was switched via menu.
I think in that case it makes no sense to show the popup. Or should I change the text?
by , 5 years ago
Attachment: | 17654-v3.patch added |
---|
comment:17 by , 5 years ago
v3: Only show notification when viewport following mode was changed with shortcut.
comment:20 by , 5 years ago
Well, if there is a shortcut and the mode was activated via menu the popup will also appear. No idea if this can be changed.
comment:21 by , 5 years ago
Awesome, so often I managed to press this unknown shortcut and then I was surprised by the strange behaviour! :-)
The "Viewport following" mode is toggled with Ctrl+Shift+F. You can disable that keyboard shortcut in the preferences dialog.