-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Labeling Settings window's width expand beyond reason when a large expression is used #19395
Comments
Author Name: Arnaud Morvan (@arnaud-morvan) Tested on master with Ubuntu 14.04, works good, not expanding. |
Author Name: Mathieu Pellerin - nIRV (Mathieu Pellerin - nIRV) Arnaud, screenshot please? :) The label must be a long expression string. |
Author Name: Giovanni Manghi (@gioman) I tested also on Windows/master, it works as expected too.
|
Author Name: Mathieu Pellerin - nIRV (Mathieu Pellerin - nIRV) Definitively not fixed. Steps to reproduce:
|
Author Name: Giovanni Manghi (@gioman) Mathieu Pellerin - nIRV wrote:
I tested again on latest qgis master (on Windows and Linux), made the expression very long, and on reopening the vector layer properties the dialog stays at an acceptable size. I will post a cast.
|
Author Name: Mathieu Pellerin - nIRV (Mathieu Pellerin - nIRV) I'm at lost here :) I've made a screencast of how the UI behaves over here, hope that can help.
|
Author Name: Salvatore Larosa (@slarosa) Fixed in changeset "def0a1df91d5390f02dc0fd5f17d3614e396a7a2".
|
Author Name: Mathieu Pellerin - nIRV (Mathieu Pellerin - nIRV)
Original Redmine Issue: 11061
Affected QGIS version: master
Redmine category:gui
The labeling settings window's width expands to the width of the monitor when a large expression is used as label. What I think happens is that the expression widget's text input tries to grow to display the expression string as much as it can. That's not a bad idea, but the end result is really bad for very long strings (which happens as soon as you add a few conditional statements in there). There should be a reasonable growth limit that prevents the window from filling the monitor's width.
See attached screenshot. Problem started in the late stage of QGIS 2.4 development, and currently affects master too.
Setting priority to high as it is very problematic on small monitors.
The text was updated successfully, but these errors were encountered: