Changes between Initial Version and Version 1 of Ticket #23728, comment 23


Ignore:
Timestamp:
2024-06-15T09:20:11+02:00 (19 months ago)
Author:
GerdP

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23728, comment 23

    initial v1  
    33- fix `GeoImageLayer.jumpToNextMarker()` and `GeoImageLayer.jumpToPreviousMarker()' so that they open/update the `ImageViewerDialog` instead of just modifying the selected image (as before r18591). This also allows to open the `ImageViewerDialog` for a geoimage layer, so a new layer action "Show Image" seems obsolete.
    44- new code to check if a new geoimage layer was added by any open file or drag/drop action and - if so - to open the first image of the topmost new geoimage layer. If `ImageViewerDialog` is already open a new tab is added.
    5 - don't let paint()
    65
    76@Taylor: Reg. the change in `OpenFileAction`: This also does not seem to be the right place to check for new geoimage layers as other actions like `OpenLocationAction` or plugins also may add one or more image layers and my understanding is that we always want to show the first image of the topmost new geoimage layer. Maybe a new method `MainLayerManager.addLayers(List<Layer> list)` would do the trick? It would allow such post processing whenever one or more layers are added.