Selecting points overlapped by labels when creating new items

Issue #430 on hold
Benjamin Nauck created an issue

As a user, I would like points to have higher priority than labels when new creating lines.

In the following example it isn't possible to create a line from A2 to A since the label A1 overlaps the point A since A1 was created after A. Screen Shot 2016-01-02 at 12.26.53.png

One could argue that no sane person would have labels overlapping points when doing real patterns but fixing it would make the end product feel more polished.

Comments (21)

  1. Roman Telezhynskyi repo owner

    In the following example it isn't possible to create a line from A2 to A since the label A1 overlaps the point A since A1 was created after A.

    Not true. Click on the label and you will select the point. Does this do what you want?

  2. Benjamin Nauck reporter

    The problem with the case above is that another points label overlaps the point I want to select. I could of cause click on the label for the point I do want to select but it just feels like it should prioritize points over labels when selecting the program asks the user to select points

  3. Roman Telezhynskyi repo owner

    Did you try to select point on a big pattern? Points became super small. Only labels save situation.

  4. Benjamin Nauck reporter

    This isn't really a big issue though, as you can either select the point's label instead or just move the overlapping label.

    The only real world case I can think of right now when this might be a problem is if you're designing really small patterns, like patterns for barbie dresses :P

    But I didn't want it to fly under the radar which is why I reported it, but feel free to mark it as wontfix/closed if you think it's a non-issue

  5. Susan Spencer

    When I try to open the pointunderlabel.val file on Ubuntu 14.04 64bit with Valentina v0.4.0.0b, built on Dec 21 with Qt 5.2.1, it won't open and I get this message: pointunderlabel_error.png

  6. Benjamin Nauck reporter

    @tusuzu I created the file in a version I built from the develop branch. But I've attached a new file "pattern.val" with the same setup.

  7. Susan Spencer

    I was able to follow standard procedure with this file, and moved the label out of the way. Then I added a line using the Line tool from A to A2 without a problem. Video is attached.

    So perhaps the difficulty here isn't with accessing the objects. It's visual, it's the scale of the labels relative to the size of the pattern. Maybe we need to be able to scale the labels.

  8. Susan Spencer

    I was able to create a line using the Line tool by clicking on the label 'A', which wasn't covered up. The resulting line looked fine. Video is attached.

  9. Roman Telezhynskyi repo owner

    Maybe we need to be able to scale the labels. Yes, this idea i like more. In the past i tried this trick, but not successfully.

  10. Susan Spencer

    Okay, the goal was to confirm that this is a usability issue, not a bug.

    I assume that to make points clickable when they're not visually 'on top' may require code which disrupts the Qt widgets, which means we probably shouldn't do it. This assumption could be incorrect, it's just my first guess.

  11. Roman Telezhynskyi repo owner

    What does Chrome on Android when there are two links very close to each other? Show scaled region and allow a user to select correct link. In all other cases Chrome seeks link and opens it even a user clicked on region bigger than just a link.

    We also can catch the case where a user has ambiguous selection.

  12. Susan Spencer

    To break this down further, correct me if I'm wrong:

    1. Auto-zoom the pattern instead of enabling user to scale the labels, (Question - what happens when user wants to see a small pattern up close? Labels are still in the way, and what will keep it from auto-zooming again in this case?)
    2. When user clicks outside a point area, then find closest point
    3. When user selection is ambiguous, (overlapping clickable areas?) use closest point
  13. Log in to comment