Modify

Opened 6 months ago

Last modified 6 months ago

#23986 new defect

Some lower levels of presets menu are displayed on wrong screen

Reported by: skyper Owned by: simon04
Priority: normal Milestone:
Component: Plugin flatlaf Version:
Keywords: template_report sub-menu presets Cc: DevCharly

Description

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
  2. Have the plugin installed and use Flatlaf Dracula
  3. Select a node
  4. 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

Attachments (0)

Change History (5)

comment:1 by skyper, 6 months ago

Keywords: sub-menu presets added; menu preset removed

comment:2 by taylor.smock, 6 months ago

I'm updating the flatlaf library right now as part of an i18n + dependency update cycle.

comment:3 by taylor.smock, 6 months ago

Still a problem with flatlaf 3.5.2.

in reply to:  3 ; comment:4 by skyper, 6 months ago

Cc: DevCharly added

Replying to taylor.smock:

Still a problem with flatlaf 3.5.2.

Was this a question or are you able to reproduce?
Anyway, I have updated my plugins and it is still a problem with flatlaf (36349).

in reply to:  4 comment:5 by taylor.smock, 6 months ago

Replying to skyper:

Was this a question or are you able to reproduce?
Anyway, I have updated my plugins and it is still a problem with flatlaf (36349).

Yes, I was able to reproduce in a VM (virtualbox has the ability to have multiple screens).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain simon04.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from simon04 to the specified user.
Next status will be 'needinfo'. The owner will be changed from simon04 to skyper.
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 simon04 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.