Modify

Opened 18 months ago

Closed 18 months ago

Last modified 18 months ago

#22439 closed defect (fixed)

When deleting filters the top filter is always deleted regardless of what's currently selected.

Reported by: anonymous Owned by: team
Priority: normal Milestone: 22.10
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Select any filter in your JOSM filters.
  2. Delete it.
  3. The top/1st filter on the list will always be deleted instead of the filter you were trying to delete.

What is the expected result?

To have the selected filter deleted.

What happens instead?

The top/1st filter on the list is deleted instead.

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-10-06 21:10:57 +0200 (Thu, 06 Oct 2022)
Revision:18570
Build-Date:2022-10-07 01:30:59
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18570 en) Mac OS X 12.6
OS Build number: macOS 12.6 (21G115)
Memory Usage: 555 MB / 2048 MB (161 MB allocated, but free)
Java version: 11.0.15+10-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.apple.laf.AquaLookAndFeel
Screen: Display 69733632 1440×900 (scaling 2.00×2.00) Display 188945226 1920×1080 (scaling 1.00×1.00) Display 188945225 1920×1080 (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
VM arguments: [-Djava.util.Arrays.useLegacyMergeSort=true, --add-exports=jdk.deploy/com.sun.deploy.config=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-reads=java.naming=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.action=ALL-UNNAMED,java.desktop, --add-reads=java.base=ALL-UNNAMED,java.desktop, --add-exports=java.naming/com.sun.jndi.toolkit.url=ALL-UNNAMED,java.desktop, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-exports=java.desktop/com.apple.eawt=ALL-UNNAMED, --add-exports=java.desktop/sun.awt=ALL-UNNAMED,java.desktop, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-exports=java.base/sun.security.validator=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED,java.desktop, --add-exports=java.base/jdk.internal.util.jar=ALL-UNNAMED,java.desktop, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, --add-exports=java.base/com.sun.net.ssl.internal.ssl=ALL-UNNAMED,java.desktop, --add-exports=javafx.graphics/com.sun.javafx.application=ALL-UNNAMED, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.desktop/sun.awt.X11=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.applet=ALL-UNNAMED,java.desktop,jdk.jsobject, --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED,java.desktop, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-exports=java.base/sun.security.util=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-reads=java.desktop=ALL-UNNAMED,java.naming, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-exports=java.base/sun.security.x509=ALL-UNNAMED,java.desktop, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-exports=java.desktop/javax.jnlp=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.provider=ALL-UNNAMED,java.desktop]
Dataset consistency test: No problems found

Plugins:
+ Mapillary (2.0.0-beta.17)
+ apache-commons (36003)
+ apache-http (35924)
+ auto_tools (81)
+ buildings_tools (36011)
+ changeset-viewer (v0.0.6)
+ continuosDownload (105)
+ graphview (36011)
+ jna (36005)
+ osm-obj-info (66)
+ reverter (36011)
+ rex (53)
+ utilsplugin2 (36011)

Tagging presets:
+ /Applications/JOSM-Buddy/assets/presets/heading.xml

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
+ ${HOME}/Desktop/Paintstyle:validator checks/Clingstone/Test styles/Current_Kaart_style copy.mapcss
- ${HOME}/Desktop/Paintstyle:validator checks/Clingstone/Test styles/Name-en_test.mapcss
+ https://raw.githubusercontent.com/KaartGroup/Kaart-Styles/master/Overlapping%20Ways.mapcss
- ${HOME}/Desktop/Paintstyle:validator checks/Clingstone/Test styles/Custom_layer_style.mapcss
- ${HOME}/Desktop/Paintstyle:validator checks/Clingstone/QC Styles/New Test QC.mapcss
- https://raw.githubusercontent.com/KaartGroup/Kaart-Styles/master/Kaart_QC_Quandary.mapcss
- https://josm.openstreetmap.de/josmfile?page=Styles/LayerChecker&zip=1
- https://raw.githubusercontent.com/KaartGroup/Kaart-Styles/master/Kaart-Styles.mapcss
- ${HOME}/Desktop/Paintstyle:validator checks/applepaintstyles-main/main_street.mapcss

Validator rules:
+ https://raw.githubusercontent.com/KaartGroup/KaartValidator/master/kaart.clingstone.validator.mapcss
+ /Applications/JOSM-Buddy/assets/validators/forbidden-tag-check.validator.mapcss
- https://raw.githubusercontent.com/KaartGroup/KaartValidator/master/kaart.indonesiaNames.validator.mapcss
- https://raw.githubusercontent.com/KaartGroup/KaartValidator/master/kaart.durazno.validator.mapcss
- ${HOME}/Desktop/Paintstyle:validator checks/Clingstone/kaart.malaysiaNames.validator.mapcss
- ${HOME}/Desktop/Paintstyle:validator checks/Clingstone/Test styles/Kaart .test.validator.mapcss

Last errors/warnings:
- 00009.479 E: Old Id 'ORTOS_DGT_1995' is not unique - used by 'Orthophotos of mainland Portugal - 1m - 1995 - Fake Color (DGT)' and 'Orthophotos of mainland Portugal - 1m - 1995 - Fake Color (DGT)'!
- 00009.947 W: Failed to load Mappaint styles from '${HOME}/Desktop/Paintstyle:validator checks/applepaintstyles-main/main_street.mapcss'. Exception was: java.nio.file.NoSuchFileException: ${HOME}/Desktop/Paintstyle:validator checks/applepaintstyles-main/main_street.mapcss
- 00009.947 E: java.nio.file.NoSuchFileException: ${HOME}/Desktop/Paintstyle:validator checks/applepaintstyles-main/main_street.mapcss
- 00013.836 E: Failed to locate image 'layerchecker.svg'
- 00013.837 W: Mappaint style "standard" (Custom Layers) icon "layerchecker.svg" not found.
- 02640.030 W: Unknown remote control parameter title, skipping it

Attachments (0)

Change History (3)

comment:1 by taylor.smock, 18 months ago

Resolution: fixed
Status: newclosed

In 18571/josm:

Fix #22439: Filter deleting always deletes the first filter regardless of selection

comment:2 by taylor.smock, 18 months ago

Ticket #22448 has been marked as a duplicate of this ticket.

comment:3 by taylor.smock, 18 months ago

Milestone: 22.10

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.