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

Allow interactive placement of curved labels #33374

Open
DelazJ opened this issue Dec 13, 2019 · 10 comments
Open

Allow interactive placement of curved labels #33374

DelazJ opened this issue Dec 13, 2019 · 10 comments
Labels
Feature Request Labeling Related to QGIS map labeling

Comments

@DelazJ
Copy link
Contributor

DelazJ commented Dec 13, 2019

Given a label set to follow a curve line, if you use the "move label" tool to move it, it becomes straight.

Tested with 3.10.0
Was already reported at #15680 but closed with 2.18 EOL

@DelazJ DelazJ added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Dec 13, 2019
@andreasneumann
Copy link
Member

@DelazJ This never worked in the past. I think it would be a feature request, not a bug.

The bug is that, the "move label" tool is enabled for curved labels. It should be disabled if the placement method is set to "curved" or "parallel"

@DelazJ
Copy link
Contributor Author

DelazJ commented Dec 13, 2019

Ah OK @andreasneumann Thanks for the information.

@andreasneumann
Copy link
Member

It is one of the many UI glitches we have in QGIS. Things are enabled while there is no functionality behind it in combination with certain settings.

I agree it would be nice being able to interactively move a label along a line, like you can do in Adobe Illustrator. But the implementation of this new functionality is non-trivial and a lot of work. Definitely a feature request. Way beyond a simple bug fix.

But the bug here is, that the functionality should be disabled in such a case.

@nyalldawson
Copy link
Collaborator

I disagree that it should be disabled -- I've used this in the past to add labels with callouts to features where the curved label doesn't fit nicely.

Even if we add support for placed curved labels, we'd also need a method to reproduce the current functionality of making anchored text in an otherwise curved layer straight...

@haubourg
Copy link
Member

Agreed with Nyall, I don't see why we could'nt move a curved label.

@andreasneumann
Copy link
Member

To me it is either: we can move a curved label along the line (like in Illustrator / Inkscape) and it stays curved (that what I would expect, coming from a graphics designer world) or I would disable moving of a label.

A curved line, that suddenly morphs into a straight label as soon as I move it is a contradiction and would certainly trigger additional bug reports (why is my curved label suddenly straight)?

If we want the functionality that you suggest, Nyall, I wouldn't call the tool "move label" but something like "detach label from curve". That should be a separate tool in my opinion.

@nyalldawson
Copy link
Collaborator

That sounds fine Andreas, just so long as I don't lose that ability!

@gioman gioman added the Labeling Related to QGIS map labeling label Mar 2, 2020
@pjshelton
Copy link

#20563 is a feature request for this functionality.

@nyalldawson nyalldawson added Feature Request and removed Bug Either a bug report, or a bug fix. Let's hope for the latter! labels May 21, 2021
@nyalldawson
Copy link
Collaborator

This is a feature request, not a bug

@nyalldawson nyalldawson changed the title Moving a curved label turns it into a straight one Allow interactive placement of curved labels May 21, 2021
@SrNetoChan
Copy link
Member

Isn't this done already? Move button together with the anchoring settings on curved labels allow to move the label along the line. I find it hard to control, but maybe I am missing something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Labeling Related to QGIS map labeling
Projects
None yet
Development

No branches or pull requests

7 participants