﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
23986	Some lower levels of presets menu are displayed on wrong screen	skyper	simon04	"I tried with empty preferences only installing the plugin and was not able to reproduce.
I tried with `Metal` and it does not happen with my current preferences.

==== What steps will reproduce the problem?
1. Have two of more screens
1. Have the plugin installed and use `Flatlaf Dracula`
1. Select a node
1. Presets -> Man Made -> Power **''or''** Presets -> Sports -> Sport (Ball)

==== What is the expected result?
The lower levels are always displayed on the right side of the level above on the same screen

==== What happens instead?
The lowest level is displayed on the opposite screen

==== Please provide any additional information below. Attach a screenshot if possible.
As already mentioned above, I can only reproduce it with my current preferences. It happens consistently but only with some sub-menus. Moving the main window to another screen does not change this strange behavior. As I seldom use the presets menu, I cannot tell give any date when this strange behavior started. Are there any options which change the placement of sub-menus?

{{{
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2024-10-28 21:08:46 +0100 (Mon, 28 Oct 2024)
Revision:19252
Build-Date:2024-10-29 02:30:30
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (19252 en) Linux Debian GNU/Linux 12 (bookworm)
Memory Usage: 948 MB / 5908 MB (603 MB allocated, but free)
Java version: 17.0.13+11-Debian-2deb12u1, Debian, OpenJDK 64-Bit Server VM
Look and Feel: com.formdev.flatlaf.FlatDarculaLaf
Screen: :0.0 1366x768x[Multi depth]@60Hz (scaling 1.00×1.00) :0.1 1920x1080x[Multi depth]@[Unknown refresh rate] (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: en_US.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: GNOME
Java package: openjdk-17-jre:amd64-17.0.13+11-2~deb12u1
Java ATK Wrapper package: libatk-wrapper-java:all-0.40.0-3
libcommons-compress-java: libcommons-compress-java:all-1.22-1
fonts-noto: fonts-noto:all-20201225-1
VM arguments: [--module-path=/usr/share/openjfx/lib, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, -Djosm.restart=true, -Djosm.dir.name=JOSM-latest, -Djava.net.useSystemProxies=true, -XX:MaxRAMPercentage=75.0, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED]
Dataset consistency test: No problems found

Plugins:
+ ImproveWay (32)
+ Mapillary (1778)
+ apache-commons (36282)
+ conflation (0.6.11)
+ ejml (36176)
+ flatlaf (36176)
+ geotools (36273)
+ imagery_offset_db (36344)
+ jackson (36273)
+ javafx (36282)
+ jaxb (36118)
+ jts (36004)
+ matsim (d70ae5a)
+ opendata (36343)
+ pt_assistant (637)
+ reverter (36343)
+ terracer (36344)
+ undelete (36298)
+ utilsplugin2 (36344)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/LaneAttributes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Light_sources&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/IsSidepath&zip=1
+ https://github.com/kendzi/Simple3dBuildingsPreset/releases/download/0.9_2018-05-08/s3db-preset.zip

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/light_source&zip=1
- https://github.com/bastik/mapcss-tools/raw/osm/mapnik2mapcss/osm-results/mapnik.zip
- https://josm.openstreetmap.de/josmfile?page=Styles/Direction&zip=1
- https://raw.githubusercontent.com/species/josm-preset-traffic_sign_direction/master/direction.mapcss
+ https://josm.openstreetmap.de/josmfile?page=Styles/Bench&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Incline&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Landcover&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/SidewalksPlus&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/FixmeAndNote&zip=1

Validator rules:
- ${HOME}/JOSM/new/resources/data/validator/combinations_18674_21286.mapcss
- ${HOME}/JOSM/new/resources/data/validator/numeric_18535_min_height.mapcss
+ https://josm.openstreetmap.de/josmfile?page=Rules/GermanySpecific&zip=1
}}}
"	defect	new	normal		Plugin flatlaf			template_report sub-menu presets	DevCharly
