Modify

Opened 7 years ago

Closed 4 years ago

Last modified 4 years ago

#14088 closed enhancement (fixed)

Add icons to value drop down in adding tag dialog

Reported by: mdk Owned by: team
Priority: normal Milestone: 20.02
Component: Core Version: latest
Keywords: add tag dialog icon Cc:

Description

Since more and more icons for common tag=value combinations are defined and used for preset and specially for the recently used tag list in the add tag dialogue, I realised, that I tend to identity recently used tags by the icons instead of reading the text (especially after changeing the list size from 5 to 20).
When I want to add a tag which is not in the list of recently used tags. I start typing key, hit TAB if I found the wanted value start typing the key and press ENTER when I reach the wanted value.
Sometimes key and especially values have similar names (like natural=scree and natural=scrub). When typing, the shown values depends on

  • are the value is used in a preset?
  • is the value used in the currently downloaded area?
  • did I used the key in the current session recently?

So I can't rely on the characters I typed, but I must always check the current result by reading the text.
Example:
w TAB r ENTER normally results in waterway=river. But when I added a riverbank before the same key sequence results in waterway=riverbank. And when I add water=pond before the same key sequence results in water=reservoir.
Therefore I would find it very helpful to see icons in the drop-down lists either when typing or when selecting from the list. The icons would help me verifying the correct value and to get hints for the most common values. Values without icons are normally uncommon or typos.

Attachments (1)

2020-01-26-234325_566x438_scrot.png (10.1 KB ) - added by simon04 4 years ago.

Download all attachments as: .zip

Change History (19)

by simon04, 4 years ago

comment:1 by simon04, 4 years ago

Keywords: add tag dialog icon added
Milestone: 20.02

What about changing the icon (and label?) of the Okay button?


comment:2 by Klumbumbus, 4 years ago

That would make the width of that button changing while typing!? That sounds a bit strange to me. And what about long values, e.g. old_name=Philippine College of Science and Technology - Tayug Campus or longer?

comment:3 by simon04, 4 years ago

Resolution: fixed
Status: newclosed

In 15835/josm:

fix #14088 - Add tags dialog: use okay button icon from matching preset/style

comment:4 by gaben, 4 years ago

The height of the button is changing with the icon as well. Try it out with building or addr:*. Also the width with eg. description.

comment:5 by Klumbumbus, 4 years ago

Resolution: fixed
Status: closedreopened

comment:6 by simon04, 4 years ago

I don't see an easy (and performant) way this fix this issue: The icons have different aspect rations (typically 16:16, description.svg has 11:16, housenumber.svg has 16:12).

I'm not going to invest time in harmonizing the displayed icon size (for now). If we cannot live with the current behaviour, I'm going to revert r15835.

comment:7 by mdk, 4 years ago

Why not put a "container" around the icon with a fixed (min-)size of 16x16?

comment:8 by simon04, 4 years ago

Resolution: fixed
Status: reopenedclosed

In 15889/josm:

fix #14088 - Add tags dialog: use padded preset/style icons for okay button

comment:10 by simon04, 4 years ago

In 15895/josm:

see #14088 - Fix SelectionTableCellRendererTest, MemberTableMemberCellRendererTest

comment:11 by simon04, 4 years ago

In 15896/josm:

see #14088 - Optimize ImageProvider.getPadded for untagged primitives

comment:12 by simon04, 4 years ago

In 15897/josm:

see #14088 - Add ImageProviderTest.testGetPadded

comment:13 by simon04, 4 years ago

In 15920/josm:

fix #18764, see #14088 - NPE in findIcon when adding a tag (patch by taylor.smock, extended)

comment:14 by simon04, 4 years ago

In 15921/josm:

see #18764, see #14088 - Add non-regression test (patch by taylor.smock)

comment:15 by simon04, 4 years ago

In 15927/josm:

see #18764, see #14088 - Add non-regression test (fix for headless)

comment:16 by simon04, 4 years ago

In 15946/josm:

fix #18798, see #14088 - Crash when adding junction=roundabout to a node (patch by taylor.smock)

comment:17 by simon04, 4 years ago

In 15947/josm:

see #18798, see #14088 - TagEditHelperTest: share code

comment:18 by simon04, 4 years ago

In 15948/josm:

see #18798, see #14088 - Add robustness for TagEditHelper.AbstractTagsDialog.findIcon

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
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.