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
labels with (rectangle) background overlap each other #16597
Comments
Author Name: Larry Shaffer (Larry Shaffer) It is not part of the implementation for any backgrounds or drop shadows, yet. See commit b809723 This should be an optional setting (off by default), as calculating the bounds of the label's background can be expensive and lead to unexpected results (I'm figuring much less labels would be rendered in some cases). While 'normal' backgrounds are not a big issue (those of fixed size or slight buffers), ones with significant offset and rotation might cause problems. Concerning SVGs, there will need to be loading of the file twice (unless still cached) and creation of possibly significant QImage of the shadow twice per SVG per layer to both calculate and render the label. And, the calculating upfront, before sending to PAL would be for all labels, including the ones that may never be rendered. Again, some caching might help there. I will be looking into this within the next week. |
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Giovanni Manghi (@gioman) End of life notice: QGIS 2.18 LTR
|
Still an issue with 3.8 |
I've tested this issue on QGIS 3.22.3 and I can't seem to reproduce it, i've tested this with diferent settings and data samples, and I always get the correct behaviour out of the (rectangle) background labels. (Windows 10) |
The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". |
While we hate to see this happen, this issue has been automatically closed because it has not had any activity in the last 42 days despite being marked as feedback. If this issue should be reconsidered, please follow the guidelines in the previous comment and reopen this issue. |
Author Name: Mathieu Pellerin - nIRV (Mathieu Pellerin - nIRV)
Original Redmine Issue: 7680
Affected QGIS version: master
Redmine category:labelling
The new background feature for labels seem to be missing some refinement in its collision detection algorithm. As seen in the attached screenshot, it currently fails to prevent label overlap. It might be due to the buffer value not being taken into account?
The text was updated successfully, but these errors were encountered: