Opened 9 years ago

Last modified 9 years ago

#14568 closed defect

UI freezes on map change when Conflation is active — at Version 1

Reported by: bagage Owned by: team
Priority: normal Milestone:
Component: Plugin conflation Version: latest
Keywords: Cc: Tyndare

Description (last modified by bagage)

What steps will reproduce the problem?

  1. Configure Conflation with datasets
  2. Start it
  3. Change selection on the map. For instance select all trees, all buildings or…

What is the expected result?

The selection changes instantly.

What happens instead?

UI freezes because Conflation is listening to such changes and is doing some internal things to keep in sync with the map view. I believe too much things are done too quickly; we might avoid some of them by checking first if ListSelectionEvent.getValueIsAdjusting() is true to avoid intermediate updates?

Additional information below.

Build-Date:2017-03-24 10:36:25
Revision:11772
Is-Local-Build:true

Identification: JOSM/1.5 (11772 SVN en) Linux Debian GNU/Linux 9.0 (stretch)
Memory Usage: 829 MB / 1760 MB (611 MB allocated, but free)
Java version: 1.8.0_121-8u121-b13-4-b13, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1920x1080
Maximum Screen Size: 1920x1080
Java package: openjdk-8-jre:amd64-8u121-b13-4
Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-13
Program arguments: [${HOME}/CL096-CLERIEUX/test-small.osm]
Dataset consistency test: No problems found

Plugins:
+ PicLayer (33148)
+ conflation (0.5.1)
+ jts (32699)
+ rex (26)
+ utilsplugin2 (33182)

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.

Change History (1)

comment:1 by bagage, 9 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.