Modify

Opened 15 years ago

Closed 15 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 Milestone:
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 15 years ago.
MakeWMSMoveSelectedLayer.patch (3.1 KB ) - added by xeen 15 years ago.
Fix for WMS plugin as suggested

Download all attachments as: .zip

Change History (3)

by xeen, 15 years ago

Fix for WMS plugin as suggested

comment:1 by anonymous, 15 years ago

Resolution: fixed
Status: newclosed

Applied in r1379.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain framm.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.