-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tilemap selection tool: right click doesn't erase the selection #81933
Comments
Tested on latest experimental, Win10, on a tilemap: LMB and RMB seem to be doing the same thing. Shift-RMB will add to the selection the same as shift-LMB. Dragging with RMB or LMB act the same - selection is dragged to a new position. RMB does not delete. |
I took a look at it and indeed both LMB and RMB are treated in the same exact way. I'll work on a PR fixing this. Also in the docs it says:
But from my experience only Shift+CTRL+LMB will remove the selection. Is that expected? and should RMB select tiles at all? |
I think this behavior would be a bit weird TBH. I think the docs are simply wrong here. |
I agree that it's probably not the most intuitive feature there is. Do you want me to file a bug on the documentation repository then ? |
I agree that it's weird that the selection tool would delete tiles with right click. Selecting tiles and pressing |
@ershn @Minoxs please be aware that right-click is perfect for users on a laptop that may be using the touchpad. Being forced to use the touchpad and pressing the Supr key to remove a tile would require the user to move one hand constantly from the touchpad to the Supr key. Not very ergonomic as you normally need to lay down both hands on the touchpad to move cursor and click. I am just a regular user and pretty new to Godot so I don't know what's the process to raise, validate and test change requirements (as changing the right-click to Supr is not a bug but a CR). I am a bit concerned if this type of CR makes it to production without enough community consensus. In this case, if you want to change the erase key, imo users should be able to set up what key they want to use for erasing tiles instead, |
@abelbascu I'm not sure I understand your concerns.
|
@ershn my bad, you were talking about the Select tile option and I thought you referred to the Draw option, where I can right-click and hold on the touchpad of my laptop to erase any tiles, which is very convenient for laptop users. Apologies, fairly new yet to Godot! |
I opened a PR on the documentation repository that removes the corresponding documentation. |
Fixed on the docs side by godotengine/godot-docs#8046. Thanks for both reporting the issue and fixing it! 🎉 |
Godot version
v4.1.1.stable.mono.official [bd6af8e]
System information
Godot v4.1.1.stable.mono - Windows 10.0.19045 - Vulkan (Forward+) - dedicated Radeon RX 580 Series (Advanced Micro Devices, Inc.; 31.0.21029.1006) - AMD Ryzen 7 2700X Eight-Core Processor (16 Threads)
Issue description
Problem
The tilemap documentation states that with the selection tool, right clicking a selection will erase it.
However nothing happens when doing so.
https://docs.godotengine.org/en/stable/tutorials/2d/using_tilemaps.html#selection
Expectation
Right clicking a selection with the tilemap selection tool removes all the selected tiles from the tilemap.
Demo
Steps to reproduce
Minimal reproduction project
Bug.zip
The text was updated successfully, but these errors were encountered: