Skip to content

Fix #3138. Avoid purgeMapInfoResults to refresh layout#3558

Merged
offtherailz merged 1 commit intogeosolutions-it:masterfrom
offtherailz:fix_#3138_master
Feb 21, 2019
Merged

Fix #3138. Avoid purgeMapInfoResults to refresh layout#3558
offtherailz merged 1 commit intogeosolutions-it:masterfrom
offtherailz:fix_#3138_master

Conversation

@offtherailz
Copy link
Copy Markdown
Member

Description

This pull request solves issue #3138. Probably the issue was solved, that found some error and reverted, but the issue, for some reason, remained closed.

The problem is that, when the action PURGE_MAPINFO_RESULT is performed, the mapLayout is updated, triggering the resize. Instead of this, this should happen only on FEATUREINFO_CLOSE.

PURGE_MAPINFO_RESULT is triggered also by feature grid and annotation tools to colose the feature info tool. So I fixed them to trigger also closeIdentify action.

So

Please test annotations and feature grid open/close events to identify possible problems that this refactor caused

Issues

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (check one with "x", remove the others)

  • Bugfix

What is the current behavior? (You can also link to an open issue here)
See #3138.

What is the new behavior?
Glitch do not happen anymore. The application triggers also closeIdentify also on featuregrid open or annotation remove..

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • No

@ghost ghost assigned offtherailz Feb 21, 2019
@offtherailz offtherailz merged commit 8b8a73c into geosolutions-it:master Feb 21, 2019
@offtherailz offtherailz deleted the fix_#3138_master branch February 18, 2020 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Repeated get feature info requests cause visual glitch if widgets are on map

1 participant