Bug report #18656

Print Layout: unable to manually modify the X and Y coordinates in the map Item properties panel

Added by Harrissou Santanna over 6 years ago. Updated over 6 years ago.

Status:Closed
Priority:Normal
Assignee:Alessandro Pasotti
Category:Map Composer/Printing
Affected QGIS version:3.1(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 #:26544

Description

In print layout, add a map item
Enable its properties panel and modify a value in the Extent group
Nothing happens
Press the Update preview button (who knows?): the values are reset.

Associated revisions

Revision 615d7a03
Added by Alessandro Pasotti over 6 years ago

Use locale representation for extent

Fixes #18656 Print Layout: unable to manually modify the X and Y coordinates in the map Item properties panel

History

#1 Updated by Nyall Dawson over 6 years ago

  • Status changed from Open to Feedback

Works fine here - can you confirm the steps required to reproduce this?

#2 Updated by Harrissou Santanna over 6 years ago

  • Status changed from Feedback to Open

No more steps than what is described above.
Investigating a bit, i find that it has to do with conversion of decimal separator. Values are displayed with a dot but i can't enter dot in my text lineedit. And if i use comma, i need to use it in all the four boxes to have the map item resized; changing a single value is ignored.
In 2.18, values are displayed with dot and changes allow both dot and comma (with no need to update the four boxes)

#3 Updated by Nyall Dawson over 6 years ago

Ah, in that case I'm clueless - I have no idea about localisation and comma/decimal handling, and an impromptu qa held at the hackfest last year left me more clueless! Someone else will need to fix this.

#4 Updated by Harrissou Santanna over 6 years ago

Did something change in that area in the underlying libraries? Because it works pretty well in 2.18: i can type x and y coordinates values with either "." or ",".

#5 Updated by Alessandro Pasotti over 6 years ago

  • Assignee set to Alessandro Pasotti

I'm able to reproduce it on windows with italian locale, I'll have a look.

#6 Updated by Alessandro Pasotti over 6 years ago

  • Status changed from Open to In Progress
  • Pull Request or Patch supplied changed from No to Yes

#7 Updated by Anonymous over 6 years ago

  • % Done changed from 0 to 100
  • Status changed from In Progress to Closed

Also available in: Atom PDF