Opened 4 years ago
Closed 3 years ago
#20375 closed defect (wontfix)
Inconsistent use of space and placement with tooltips
Reported by: | skyper | Owned by: | skyper |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | template_report tooltip placement | Cc: |
Description
Looking at #19585, I found a strange behavior of tooltips at least in relation editor and changeset manager. In relation panel tooltips are disabled for some reason.
What steps will reproduce the problem?
- Have a relation with some members with quite some tags (30+)
- In relation manager, mouse hover over the member list
What is the expected result?
- If possible show all tags by using the full screen height
- No jumps but a centered placement
What happens instead?
- Context is cut of
- Jumps in placement of tooltips as it usually is placed below if enough space is available.
- Sometime the full screen height is used but it is unpredictable
Please provide any additional information below. Attach a screenshot if possible.
Please find attached session with two more or less identical layers. The first is better for the jumping effect and the second makes it easier to notice the full screen height. Use the route_master (#69754).
In changeset manager, CS #97252806 is a good example. After downloading the context, mouse hover over the objects in content tab to notice the same issues.
Do not know if this is related to #19585 as I stopped using Metal LaF.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2021-01-11 00:39:15 +0100 (Mon, 11 Jan 2021) Revision:17454 Build-Date:2021-01-11 02:30:53 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (17454 en) Linux Debian GNU/Linux 10 (buster) Java version: 11.0.9.1+1-post-Debian-1deb10u2, Debian, OpenJDK 64-Bit Server VM Look and Feel: com.formdev.flatlaf.FlatDarkLaf Java package: openjdk-11-jre:amd64-11.0.9.1+1-1~deb10u2 Environment variable LANG: en_US.utf8 libcommons-compress-java: libcommons-compress-java:all-1.18-2+deb10u1 libcommons-logging-java: libcommons-logging-java:all-1.2-2 fonts-noto: fonts-noto:all-20181227-1 liboauth-signpost-java: liboauth-signpost-java:all-1.2.1.2-2 Dataset consistency test: No problems found Plugins: + flatlaf (35679)
Attachments (1)
Change History (4)
by , 4 years ago
Attachment: | josm_tooltip_examples.joz added |
---|
comment:1 by , 3 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
Can't reproduce but not sure to understand. For graphical problems please provide a screenshot it helps a lot.
comment:2 by , 3 years ago
Priority: | normal → minor |
---|
I cannot reproduce the cutoffs anymore and the jumps are only noticeable with few tags, now.
I do not know what changed but on my side, I have upgraded my operating system and just tried java11, again, without a different outcome. There were some changes in relation and flatlaf plugin on JOSM side.
The jumps are visible on the lower half of the member list if odds members have some tags (10-20) and even members have only a few tags (>5). I think the code tries to place the info always below the mouse pointer if possible and only if it does not fit the info is displayed above. I am not sure if it would make sense to always place the info on the part with more space which results in only on jump in the middle and not if scrolling.
Anyway, this is a minor issue or wontfix for me, now.
comment:3 by , 3 years ago
Resolution: | → wontfix |
---|---|
Status: | needinfo → closed |
OK please reopen if you see the problem again.
example session with two layers