Opened 8 years ago

Last modified 2 years ago

#12161 new defect

Presets: Non-editable Comboboxes are Lower than Editable Comboboxes

Reported by: Nakaner Owned by: team
Priority: normal Milestone:
Component: Core Version: tested
Keywords: template_report Cc:


What steps will reproduce the problem?

Load the attached preset and open it (may have to select a way).

The preset has four comboboxes
(1) not editable, 2 list entries
(2) editable, 2 list entries
(3) editable, all values as values="foo,bar,bla"
(4) not editable, all values as values="foo,bar,bla"

I have attached a minimum working example.

What is the expected result?

All comboxes should have the same height.

What happens instead?

Non-editable comboboxes are lower than editable comboboxes.

Please provide any additional information below. Attach a screenshot if possible.

Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2015-11-24 00:04:12 +0100 (Tue, 24 Nov 2015)
Build-Date:2015-11-23 23:14:21
Relative:URL: ^/trunk

Identification: JOSM/1.5 (9060 de) Linux Arch Linux
Memory Usage: 482 MB / 1746 MB (333 MB allocated, but free)
Java version: 1.8.0_66, Oracle Corporation, OpenJDK 64-Bit Server VM
VM arguments: [-Djosm.restart=true]
Dataset consistency test: No problems found

- Mapillary (31799)
- apache-commons (31772)
- apache-http (31772)
- buildings_tools (31772)
- ejml (31772)
- geotools (31774)
- jts (31772)
- reverter (31772)
- utilsplugin2 (31772)

Last errors/warnings:
- E: Defekte Objektvorlage "railway:signal:departure:states-Anzeigbare Signalbilder" - Anzahl der Datenworte in 'display_values' und in 'values' müssen gleich sein
- E: Detaillierte Information: [A 1 (Türen schließen);A 2 (Abfahren), A 1 (Türen schließen);A 2 (Abfahrt)] <> [DE-BOStrab:a1;off, DE-BOStrab:a2;off, DE-BOStrab:a1;DE-BOStrab:a2;off]

The preset bugs listed above were caused by another preset which I am going to fix after filing this bug report.

Attachments (1)

empty-value.xml (1.6 KB ) - added by Nakaner 8 years ago.
minimum working example

Download all attachments as: .zip

Change History (2)

by Nakaner, 8 years ago

Attachment: empty-value.xml added

minimum working example

comment:1 by skyper, 2 years ago

Still an issue. The text of non-editable combos is above the middle of the box.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2022-04-04 22:26:00 +0200 (Mon, 04 Apr 2022)
Build-Date:2022-04-05 01:30:55

Identification: JOSM/1.5 (18427 en) Linux Debian GNU/Linux 11 (bullseye)
Java version: 17.0.2+8-Debian-1deb11u1, Debian, OpenJDK 64-Bit Server VM
Look and Feel: com.formdev.flatlaf.FlatDarculaLaf

Desktop environment: GNOME

+ flatlaf (35862)
+ tagging-preset-tester (35893)

Tagging presets:
+ ${HOME}/Downloads/empty-value.xml

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to Nakaner.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment

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