Bug report #16987

a newly created bookmark (via New Bookmark button) has the wrong extent

Added by Steven Mizuno over 6 years ago. Updated over 6 years ago.

Status:Closed
Priority:High
Assignee:-
Category:GUI
Affected QGIS version:master Regression?:Yes
Operating System: Easy fix?:No
Pull Request or Patch supplied:Yes Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:24886

Description

Zooming to this new bookmark shows a much different extent on the map.

Examining the x, y values in the bookmarks panel shows that xMax and yMin values are interchanged. Manually exchanging these two values fixes the bookmark.

Imported bookmarks (exported from QGIS 2.14) are OK.

Examining qgsbookmarks.cpp I find that the insert query (in two locations) has a different order for the column list vs. the parameter list, specifically xmax and ymin.

This is a regression from 2.18.

I am using OSGeo4W nightly build on Windows 8.1 64-bit system.

Associated revisions

Revision 7c08b715
Added by Harrissou Santanna over 6 years ago

[Bugfix]Fix Bookmarks xmax and ymin columns inversion (#5643)

(fix #16987)

History

#1 Updated by Giovanni Manghi over 6 years ago

  • Priority changed from Normal to High

#2 Updated by Harrissou Santanna over 6 years ago

  • Pull Request or Patch supplied changed from No to Yes

#3 Updated by Harrissou Santanna over 6 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

Also available in: Atom PDF