You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Switching map silently drops an unsaved Format text and cancels a service import in flight #2987
I searched the existing issues and did not find a duplicate.
This is a bug report, not a usage question.
What happened?
Two things the user has started on one map are dropped, with no notice, when another map is put in view:
A text typed in the Format pane for a map text (graphicformat::save_draft, graphicformat.rs:182): a draft not yet saved when the map in view changes is dropped, because its layer id and row belong to the map it was typed on. The Format pane then shows "Select one text on the map".
An Add From Service import in flight (serviceui::poll, serviceui.rs:469): the import is given up (download_failed) when the map in view changes, deleted, replaced or renamed, and nothing says so. The layers the user asked for never arrive.
Both predate #2975, which only makes them survive a map being moved among the maps.
Steps to reproduce
Select a map text so the Format pane opens, type in its text box and, without leaving it, pick another map in the Browser: the typed text is gone.
Start Add From Service on a slow service and switch map before it lands: nothing is added and nothing says why.
Expected behavior
Each says what was dropped, once, through Session::notify (e.g. "Text typed for a map that isn't in view was not saved." and "The service import was cancelled because the map in view changed."). Saving the typed text to its own map is a larger change and is not asked for here.
Activity
jgregoriorincon commentedon Nov 26, 2026
I'll take this.
fix(ui): an import also says it was cancelled when another project is…
fix(ui): a typed text whose graphic is gone says it was not saved (op…
docs(ui): the import's silent case says what it covers, and the gone-…
docs(ui): clearer comments on the dropped-draft and import notices, a…
fix(ui): a text graphic with empty text is not reported gone when its…
test(ui): a text too long for a graphic says why it was not saved whe…
test(ui): the over-limit test pins the refusal's own wording (opengeo…
fix(ui): switching map says when it drops an unsaved Format text or c…