Bug report #20321

Scale Bar decoration is not displayed - 3.4 - macOS

Added by Ugo Santana about 6 years ago. Updated almost 6 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:mac_os_specific
Affected QGIS version:3.4.0 Regression?:No
Operating System:macOS Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:28142

Description

Hi guys

Even if I enable the Scale Bar decoration on it's dialog, the scale bar is not displayed on the map view.

(go to menu View>Decorations>Scale bar...; Enable it)

scale bar.png - Even enabled, scale bar is not displayed (595 KB) Ugo Santana, 2018-11-01 07:40 PM

Associated revisions

Revision 1fbcab9e
Added by Denis Rouzaud about 6 years ago

fix device size in decoration item

the size should take the device pixel ration into account
fixes #20321

Revision 8d91a6ee
Added by Denis Rouzaud about 6 years ago

fix device size in decoration item

the size should take the device pixel ration into account
fixes #20321

History

#1 Updated by Giovanni Manghi about 6 years ago

  • Priority changed from High to Normal
  • Category changed from Decorations to mac_os_specific

#2 Updated by Nyall Dawson about 6 years ago

  • Status changed from Open to Feedback

Can you check if it works at "top left" position? Are you on a retina display?

#3 Updated by Ugo Santana about 6 years ago

Nyall Dawson wrote:

Can you check if it works at "top left" position? Are you on a retina display?

Haha! Top left works! A bit too big though...

But top right don't work... Yes, I'm using a retina display... So, do you think it's hidden outside of the screen?

#4 Updated by Nyall Dawson about 6 years ago

  • Assignee set to Denis Rouzaud

Denis this is probably related to your canvas work -- i suspect the x/y/ position of the decorations is being doubled here

#5 Updated by Nyall Dawson about 6 years ago

  • Assignee deleted (Denis Rouzaud)

#7 Updated by Denis Rouzaud about 6 years ago

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

#8 Updated by Ugo Santana about 6 years ago

Denis Rouzaud wrote:

Applied in changeset qgis|1fbcab9edccd45e71418282cb061ca94d86dd0d2.

Great! Thanks!

#9 Updated by Ugo Santana almost 6 years ago

Denis Rouzaud wrote:

Applied in changeset qgis|1fbcab9edccd45e71418282cb061ca94d86dd0d2.

Hi Denis!

I've installed 3.4.1 and the bug is still here... Do you know why?
Thanks for any info

#10 Updated by Denis Rouzaud almost 6 years ago

How did you install QGIS?
Do you have an custom Qt parameter for HiDPI left over?

#11 Updated by Denis Rouzaud almost 6 years ago

  • Status changed from Closed to Feedback

#12 Updated by Ugo Santana almost 6 years ago

Denis Rouzaud wrote:

How did you install QGIS?
Do you have an custom Qt parameter for HiDPI left over?

Hi Denis, I always install QGIS through the DMG package on the QGIS.org website.
I’ve never installed QT, nor changed any parameter on QGIS.

#13 Updated by Ugo Santana almost 6 years ago

Hi Denis!

I installed 3.4.2 and it's fine now! Decorations working properly!

Thanks!

#14 Updated by Giovanni Manghi almost 6 years ago

  • Resolution set to fixed/implemented
  • Status changed from Feedback to Closed

Also available in: Atom PDF