Opened 11 years ago
Closed 11 years ago
#10462 closed enhancement (fixed)
Include object type and id in history for undecorated windows
Reported by: | naoliv | Owned by: | naoliv |
---|---|---|---|
Priority: | normal | Milestone: | 14.09 |
Component: | Core | Version: | |
Keywords: | decoration history dialog | Cc: | skyper |
Description (last modified by )
Attachments (2)
Change History (20)
comment:1 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
by , 11 years ago
Attachment: | history.png added |
---|
For example, I can deduce that this object in the history dialog is a way because it has a "Nodes" tab, but nowhere it's explicitly saying that this history is of a way. Also, we can't see the object id (only versions and changesets, but not its id). Maybe this info could be included like the example in red? (with a better presentation, of course)
comment:2 by , 11 years ago
Description: | modified (diff) |
---|
by , 11 years ago
Attachment: | history_titlebar.png added |
---|
comment:3 by , 11 years ago
follow-up: 5 comment:4 by , 11 years ago
Hum... my window manager doesn't have decorations :-)
It's only a tiny 1 px border, without buttons and titles.
comment:5 by , 11 years ago
Keywords: | decoration history dialog added |
---|---|
Summary: | Include object type and id in history → Include object type and id in history for undecorated windows |
comment:6 by , 11 years ago
It's http://awesome.naquadah.org/
Just in case you look at the screenshots, while there is a kind of title bar at the top of the environment, the history window doesn't display anything there.
comment:7 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | needinfo → new |
Thanks. It's a similar issue to #8664. I don't know how to fix it (i.e detect that the dialog is undecorated).
comment:9 by , 11 years ago
Cc: | added |
---|
comment:12 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
@naoliv, @skyper:
Can you please, both of you, display an history dialog (for any object) with your respective window manager that does not provide window decoration, with josm latest (I just have rebuilt it right now) in debug mode (java -jar josm-latest.jar --debug
) and share the following console output for your system? Thanks.
DEBUG: #10462 - JDialog.isDefaultLookAndFeelDecorated: false DEBUG: #10462 - JFrame.isDefaultLookAndFeelDecorated: false DEBUG: #10462 - dialog.isUndecorated: false DEBUG: #10462 - UIManager.getLookAndFeel: [The Microsoft Windows Look and Feel - com.sun.java.swing.plaf.windows.WindowsLookAndFeel] DEBUG: #10462 - LookAndFeel.getSupportsWindowDecorations: false DEBUG: #10462 - JRootPane.getWindowDecorationStyle: 0 DEBUG: #10462 - Window.getIconImages: [] DEBUG: #10462 - Dialog.getTitle: History for node 2351843378 DEBUG: #10462 - Dialog.getInsets: java.awt.Insets[top=31,left=8,bottom=8,right=8]
comment:13 by , 11 years ago
Milestone: | → 14.09 |
---|
comment:14 by , 11 years ago
This is what I have here:
DEBUG: #10462 - JDialog.isDefaultLookAndFeelDecorated: false DEBUG: #10462 - JFrame.isDefaultLookAndFeelDecorated: false DEBUG: #10462 - dialog.isUndecorated: false DEBUG: #10462 - UIManager.getLookAndFeel: [The Java(tm) Look and Feel - javax.swing.plaf.metal.MetalLookAndFeel] DEBUG: #10462 - LookAndFeel.getSupportsWindowDecorations: true DEBUG: #10462 - JRootPane.getWindowDecorationStyle: 0 DEBUG: #10462 - Window.getIconImages: [] DEBUG: #10462 - Dialog.getTitle: Histórico para nó 2394175555 DEBUG: #10462 - Dialog.getInsets: java.awt.Insets[top=0,left=0,bottom=0,right=0]
It is for node 2394175555
comment:15 by , 11 years ago
Gnome 3 on Debian 7.6 (wheezy):
DEBUG: #10462 - JDialog.isDefaultLookAndFeelDecorated: false DEBUG: #10462 - JFrame.isDefaultLookAndFeelDecorated: false DEBUG: #10462 - dialog.isUndecorated: false DEBUG: #10462 - UIManager.getLookAndFeel: [The Java(tm) Look and Feel - javax.swing.plaf.metal.MetalLookAndFeel] DEBUG: #10462 - LookAndFeel.getSupportsWindowDecorations: true DEBUG: #10462 - JRootPane.getWindowDecorationStyle: 0 DEBUG: #10462 - Window.getIconImages: [] DEBUG: #10462 - Dialog.getTitle: History for node 2394175555 DEBUG: #10462 - Dialog.getInsets: java.awt.Insets[top=25,left=5,bottom=5,right=5]
comment:16 by , 11 years ago
tried with GTK look and feel aswell:
DEBUG: #10462 - JDialog.isDefaultLookAndFeelDecorated: false DEBUG: #10462 - JFrame.isDefaultLookAndFeelDecorated: false DEBUG: #10462 - dialog.isUndecorated: false DEBUG: #10462 - UIManager.getLookAndFeel: [GTK look and feel - com.sun.java.swing.plaf.gtk.GTKLookAndFeel] DEBUG: #10462 - LookAndFeel.getSupportsWindowDecorations: false DEBUG: #10462 - JRootPane.getWindowDecorationStyle: 0 DEBUG: #10462 - Window.getIconImages: [] DEBUG: #10462 - Dialog.getTitle: History for node 2394175555 DEBUG: #10462 - Dialog.getInsets: java.awt.Insets[top=32,left=1,bottom=1,right=1]
comment:18 by , 11 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Needs to do the same thing for the Conflicts dialog.
I don't get it, we already display object types? Could you please attach an UI mockup of what you'd like to see?