mapeditor / tiled

Flexible level editor
https://www.mapeditor.org/
Other
11.17k stars 1.76k forks source link

Right click/drag-select in Tileset window #815

Open JohnnyWasabi opened 9 years ago

JohnnyWasabi commented 9 years ago

The user gets into the habit of right-clicking/drag-selecting on the map to pickup a brush. When having to go to the tileset window to get a tile or group of tiles, the tendency is to try to right click/drag, but all that does is bring up the context menu.

It would improve the workflow tremendously to keep a consistent pattern of mouse usage between the map window and the tileset window. I suggest keeping the current left mouse behavior in the tileset window and adding the same behavior for right mouse. The context menu items can be moved to a new Tileset menu on the main menu bar which could also include the "New Tileset..." and "Add External Tileset...", which are currently oddly placed on the "Map" menu.

bjorn commented 9 years ago

Yeah, I think this makes sense. Would have to see how to implement this because the current behavior relies heavily on the default mouse handling in the Qt item view component.