﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
22337	[PATCH] Make window for attached GPX waypoint images resizable	stoffld	taylor.smock	"==== What steps will reproduce the problem?

1. Open a GPX track that has images attached to waypoints
2. Click one of the waypoints on the map
3. It opens another window to view the image

Here's an example of such a waypoint:



{{{
  <wpt lat=""49.697181"" lon=""12.1512866"">
    <time>2022-08-30T16:11:14Z</time>
    <name>0JTMdAcL--.1.jpg</name>
    <link href=""0JTMdAcL--.1.jpg"" />
    <extensions />
  </wpt>

}}}


==== What is the expected result?

The window should be resizable. 


==== What happens instead?

The image is scaled down to fit into a small window with a fixed size.

The problem gets even worse when the button to show the image in original size is clicked. Then  the big image can only be viewed through the same small viewport and has to be scrolled with the scrollbars until finally the desired section is found.


==== Please provide any additional information below. Attach a screenshot if possible.

{{{
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2022-08-29 16:59:00 +0200 (Mon, 29 Aug 2022)
Revision:18543
Build-Date:2022-08-30 01:30:57
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18543 de) Linux Mint 21
Memory Usage: 376 MB / 3916 MB (160 MB allocated, but free)
Java version: 11.0.16+8-post-Ubuntu-0ubuntu122.04, Ubuntu, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1920×1200 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1200
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: de_DE.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: de_DE
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: X-Cinnamon
Java package: openjdk-11-jre:amd64-11.0.16+8-0ubuntu1~22.04
libcommons-logging-java: libcommons-logging-java:all-1.2-2
fonts-noto: fonts-noto:all-20201225-1build1
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, -Djava.net.useSystemProxies=true, --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]

Plugins:
+ ImproveWay (32)
+ OpeningHoursEditor (35924)
+ PicLayer (1.0.2)
+ buildings_tools (36011)
+ changeset-viewer (v0.0.4)
+ contourmerge (v0.1.9)
+ imagery_offset_db (35978)
+ measurement (35978)
+ reltoolbox (35976)
+ utilsplugin2 (36011)

Map paint styles:
- https://github.com/bastik/mapcss-tools/raw/osm/mapnik2mapcss/osm-results/mapnik.zip

Last errors/warnings:
- 00001.614 W: Erweiterungen aktualisieren - Sie haben JOSM aktualisiert. Zur Vermeidung von Problemen sollten die Erweiterungen ebenfalls aktualisiert werden.  Erweiterungen jetzt aktualisieren?
}}}
"	enhancement	closed	normal	22.12	Core		fixed	template_report	
