#18533 closed defect (fixed)
changeset manager: tags tab: width of column (almost) not changeable
Reported by: | skyper | Owned by: | team |
---|---|---|---|
Priority: | minor | Milestone: | 20.12 |
Component: | Core | Version: | latest |
Keywords: | template_report changeset manager tags | Cc: |
Description (last modified by )
What steps will reproduce the problem?
- Have a changeset with a long tag value. (e.g. 79130450)
- In changeset manager click on Tags tab
- try to change the width of the columns hovering the mouse on the middle of the title row
What is the expected result?
The width is easily changeable like in the other three tabs
What happens instead?
The width is not or almost not changeable. I noticed sometimes a small jump but that was all
Please provide any additional information below. Attach a screenshot if possible.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2020-01-05 23:29:48 +0100 (Sun, 05 Jan 2020) Revision:15644 Build-Date:2020-01-06 02:30:57 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (15644 en) Linux Debian GNU/Linux 10 (buster) Java version: 11.0.5+10-post-Debian-1deb10u1, Debian, OpenJDK 64-Bit Server VM Java package: openjdk-11-jre:amd64-11.0.5+10-1~deb10u1 Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-22 libcommons-compress-java: libcommons-compress-java:all-1.18-2 libcommons-logging-java: libcommons-logging-java:all-1.2-2 fonts-noto: fonts-noto:all-20181227-1
Attachments (1)
Change History (7)
by , 5 years ago
Attachment: | josm_csm_cstags_screenshot.png added |
---|
follow-up: 2 comment:1 by , 4 years ago
Resolution: | → irreproducible |
---|---|
Status: | new → closed |
Must have been fixed with other changes.
comment:2 by , 4 years ago
Description: | modified (diff) |
---|---|
Resolution: | irreproducible |
Status: | closed → reopened |
Replying to skyper:
Must have been fixed with other changes.
Oh no, I did not carefully enough read my own report.
This problem still exist but only with the tags tab.
comment:4 by , 4 years ago
After commiting I found the cause for the problem with the old code.
It uses class TagTable which contains
@Override public Dimension getPreferredSize() { return getPreferredFullWidthSize(); }
This method is called whenever you move the mouse cursor inside the dialog and resets the column widths. I guess it should only be used when the dialog is created, but I have not yet found how to change that.
comment:5 by , 4 years ago
Maybe, breaking long values into several lines could be an enhancement to display more/all content.
comment:6 by , 4 years ago
Milestone: | → 20.12 |
---|
screenshot