After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 763469 - mapView freezes when opening geoJSON
mapView freezes when opening geoJSON
Status: RESOLVED DUPLICATE of bug 763179
Product: gnome-maps
Classification: Applications
Component: map view
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-maps-maint
gnome-maps-maint
Depends on:
Blocks:
 
 
Reported: 2016-03-10 18:45 UTC by Nayan Deshmukh
Modified: 2016-03-14 07:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
layersPopover: Do not use dialog.run() (1.24 KB, patch)
2016-03-11 18:15 UTC, Jonas Danielsson
committed Details | Review

Description Nayan Deshmukh 2016-03-10 18:45:41 UTC
When the map is in the same place where the JSON have to be inserted then the mapView freezes. 

this is the screencast of the situation
http://giphy.com/gifs/xT9DPjuMwbbGjY7omA/fullscreen

To reproduce 
1.) open a JSON file.
2.) then without changing anything in the map close the json.
3.) reinsert the same json.
Comment 1 Marius Stanciu 2016-03-10 18:52:17 UTC
I think this is a duplicate of https://bugzilla.gnome.org/show_bug.cgi?id=763179.
Map view actually freezes after closing any modal dialog (File open dialog is one of them ).
Comment 2 Nayan Deshmukh 2016-03-10 18:56:41 UTC

*** This bug has been marked as a duplicate of bug 763179 ***
Comment 3 Jonas Danielsson 2016-03-11 18:15:45 UTC
Created attachment 323729 [details] [review]
layersPopover: Do not use dialog.run()

This can create situation where we can not interact with
the map. Use asynchronous way instead.
Comment 4 Jonas Danielsson 2016-03-11 18:16:30 UTC
Could you test if this solves the issue for you?
Comment 5 Jonas Danielsson 2016-03-13 18:07:57 UTC
Comment on attachment 323729 [details] [review]
layersPopover: Do not use dialog.run()

Attachment 323729 [details] pushed as acc3673 - layersPopover: Do not use dialog.run()
Comment 6 Nayan Deshmukh 2016-03-14 07:07:48 UTC
Sorry for late feedback.

This solves the problem.