Modify

Opened 4 years ago

Closed 4 years ago

#2127 closed enhancement (fixed)

[PATCH] Draw Tools should look disabled if non-drawable Layer is selected

Reported by: xeen Owned by: framm
Priority: trivial Component: unspecified
Version: Keywords:
Cc:

Description

The motivation is that new users have an additional clue why draw won't draw when they've selected a different layer (i.e. Validator). I experienced this quite a lot when I was still new to OSM.

I tested it with also disabling actions (currently just the buttons look disabled) but found it annoying that my tool was being unselected when moving layers and also found that I switch layers while I switch tools (by using mouse and keyboard) and it was annoying to have to mind order.

The patch implements a general method of binding tools to layers. In my opinion this should be used for the "move WMS Layers" tool (which needs fixing anyway because it moves a "random" layer if there is more than one WMS layer).

Attachments (2)

MakeToolsDisabledOnNonSupportedLayers.patch (6.5 KB) - added by xeen 4 years ago.
MakeWMSMoveSelectedLayer.patch (3.1 KB) - added by xeen 4 years ago.
Fix for WMS plugin as suggested

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by xeen

Fix for WMS plugin as suggested

comment:1 Changed 4 years ago by anonymous

  • Resolution set to fixed
  • Status changed from new to closed

Applied in r1379.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.