Modify

Opened 11 years ago

Closed 10 years ago

#8664 closed enhancement (fixed)

Display icon within preset window

Reported by: skyper Owned by: team
Priority: normal Milestone: 14.09
Component: Core Version:
Keywords: preset icon gnome linux decoration dialog Cc:

Description

It would be nice to display an icon in the preset window.

Right now we always add text to inform about the chosen preset but an icon would be nice.

Thanks

r5921

Attachments (2)

addr_preset_screenshot.png (21.2 KB ) - added by skyper 11 years ago.
screenshot
preset_windows.png (29.4 KB ) - added by Don-vip 11 years ago.
address preset under windows

Download all attachments as: .zip

Change History (15)

comment:1 by Don-vip, 11 years ago

Resolution: fixed
Status: newclosed

In 5931/josm:

fix #8664 - Display preset icon as preset dialog's frame icon

in reply to:  1 comment:2 by skyper, 11 years ago

Replying to Don-vip:

In 5931/josm:

fix #8664 - Display preset icon as preset dialog's frame icon

I thought we can reuse the icon from menu (especially if it is a .svg).

Do I have to add anything to the preset as I do not get any icon.

epository Root: http://josm.openstreetmap.de/svn
Build-Date: 2013-05-06 01:34:24
Last Changed Author: Don-vip
Revision: 5932
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2013-05-06 02:53:50 +0200 (Mon, 06 May 2013)
Last Changed Rev: 5932

Identification: JOSM/1.5 (5932 de) Linux Debian GNU/Linux 7.0 (wheezy)
Memory Usage: 121 MB / 592 MB (76 MB allocated, but free)
Java version: 1.6.0_27, Sun Microsystems Inc., OpenJDK 64-Bit Server VM
Dataset consistency test: No problems found

comment:3 by Don-vip, 11 years ago

I have tested with "address" preset and it worked on my machine.
Can you attach a screenshot please ?

by skyper, 11 years ago

Attachment: addr_preset_screenshot.png added

screenshot

comment:4 by skyper, 11 years ago

Here you go:





screenshot

Version 3, edited 11 years ago by skyper (previous) (next) (diff)

by Don-vip, 11 years ago

Attachment: preset_windows.png added

address preset under windows

comment:5 by Don-vip, 11 years ago

Resolution: fixed
Status: closedreopened

Damn. What's your desktop ? Gnome 3 ?
Here's how it looks under Windows:
-
address preset under windows

in reply to:  5 comment:6 by skyper, 11 years ago

Replying to Don-vip:

Damn. What's your desktop ? Gnome 3 ?

Yes.

I see, it should be displayed in the header.
Why not displaying it within the dialog on the top right side ?

comment:7 by Don-vip, 11 years ago

Because most systems are already displaying an icon (Windows and Ubuntu too I think).
I'll do someting for systems that do not decorate frames with an icon, or see if we can force decoration of this frame.

in reply to:  7 comment:8 by skyper, 11 years ago

Replying to Don-vip:

Because most systems are already displaying an icon (Windows and Ubuntu too I think).
I'll do someting for systems that do not decorate frames with an icon, or see if we can force decoration of this frame.

I think the icon is too small and will be overseen but you are probably right that it is the right place for an window icon.

comment:9 by Manu1400, 11 years ago

Keywords: gnome linux added

comment:10 by Don-vip, 10 years ago

Keywords: decoration dialog added

comment:11 by Don-vip, 10 years ago

Milestone: 14.09

I work on this kind of stuff in #10462.

comment:12 by skyper, 10 years ago

The situation with Gnome 3 is a bit different.
It has two different decorations:

  1. main one with title and buttons (default only "close")
  2. simple one with title but no buttons

I did not spot any icons on any decoration so far

In JOSM the first is only used for main window where all dialog windows use the second one.

comment:13 by Don-vip, 10 years ago

Resolution: fixed
Status: reopenedclosed

In 7532/josm:

fix #8664, fix #10510 - possibility to add icon to preset labels

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.