Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setting labeling font size to less than 0.3 freezes qgis with meters units #57336

Open
2 tasks done
faridcher opened this issue May 3, 2024 · 9 comments · May be fixed by #57560
Open
2 tasks done

setting labeling font size to less than 0.3 freezes qgis with meters units #57336

faridcher opened this issue May 3, 2024 · 9 comments · May be fixed by #57560
Assignees
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Labeling Related to QGIS map labeling Linux

Comments

@faridcher
Copy link

faridcher commented May 3, 2024

What is the bug or the crash?

In a new project, add a vector layer from a geopackage and label with a Text field. Then try to set the font Size to 0.3 when units is either "Map Units" (my crs is in meters) or "Meters at Scale". It should work fine if it is set to 0.4. But as soon as I enter a value equal or less than 0.3 QGIS freezes! I either have to wait for 5 min or force close QGIS. If I wait for the GUI to set it to 0.3, once I want to show the Properties page of the layer, it then freezes QGIS.

Steps to reproduce the issue

create a new project and a new geopackage with vector layer and a Text field. add the layer to the map and label the Text field and set the font Size to 0.3 and the units to Meters at Scale

Versions

3.34.6-Prizren

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

@faridcher faridcher added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label May 3, 2024
@roya0045
Copy link
Contributor

roya0045 commented May 3, 2024

Tested in QGIS 3.37 on windows 11 with a font size of 0.1 meter at scale and no issue. Even at 0.001 there were no issues.

@faridcher
Copy link
Author

@roya0045 I have tested on two separate PC with Debian OS. Could it be OS dependent?

@roya0045
Copy link
Contributor

roya0045 commented May 3, 2024

That's a possiblity

@agiudiceandrea agiudiceandrea added Feedback Waiting on the submitter for answers Labeling Related to QGIS map labeling labels May 3, 2024
@agiudiceandrea
Copy link
Contributor

@faridcher, thanks for reporting. Please provide a simple project and layer with which the issue occurs on your system.

@faridcher
Copy link
Author

faridcher commented May 4, 2024

@agiudiceandrea You may create a new project, a new geopackage layer with a Text field for labeing and digitize a few features

Software Information:

  • OS Name: Debian GNU/Linux trixie/sid
  • OS Type: 64-bit
  • GNOME Version: 46
  • Windowing System: Wayland
  • Kernel Version: Linux 6.7.12-amd64

thank you

@agiudiceandrea agiudiceandrea added Linux and removed Feedback Waiting on the submitter for answers labels May 4, 2024
@elpaso
Copy link
Contributor

elpaso commented May 23, 2024

@agiudiceandrea You may create a new project, a new geopackage layer with a Text field for labeing and digitize a few features

That information was already in the issue description. There is a good reason to ask for a sample project and data because many configurations could be different and trigger the issue.

Maybe it's just me but without sample data and project I won't spend a minute of my time trying to reproduce this issue.

@elpaso elpaso added the Feedback Waiting on the submitter for answers label May 23, 2024
@faridcher
Copy link
Author

faridcher commented May 23, 2024

@elpaso attached. thank you for your time
test.zip

@elpaso elpaso removed the Feedback Waiting on the submitter for answers label May 23, 2024
@elpaso elpaso self-assigned this May 24, 2024
@elpaso
Copy link
Contributor

elpaso commented May 24, 2024

@faridcher thank you for the sample project.
I tested it and, while it is certainly very slow and it temporarily freezes QGIS, it comes back eventually. Is that what you also observe or does it freeze forever?

@faridcher
Copy link
Author

@elpaso yes, that's exactly the observed behaviour. It freezes QGIS for a while and then it unfreezes.

elpaso added a commit to elpaso/QGIS that referenced this issue May 24, 2024
Also tested with linestring.

Fix qgis#57336
@elpaso elpaso linked a pull request May 24, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Labeling Related to QGIS map labeling Linux
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants