Skip to content

SurfaceText Picking / Drag problem #28

Closed

Description

@gcheadley

I'm noticing a issue with the class SurfaceText that appears to be picking / dragging related. I am able to select a SurfaceText object and drag it once, and after that I can no longer pick / drag, get hover notifications, etc. You can easily reproduce this issue by combining the SurfaceTextUsage.java example into the SimpleShapeDragging.java example. In other words, I added

    SurfaceText surfaceText = new SurfaceText("Desolation Wilderness", Position.fromDegrees(38.9345, -120.1670, 0));
    layer.addRenderable(surfaceText);

in the constructor, and then just set the initial coordinates to zoom to that location in main() for convenience:

    Configuration.setValue(AVKey.INITIAL_LATITUDE, 38.9345);
    Configuration.setValue(AVKey.INITIAL_LONGITUDE, -120.1670);
    Configuration.setValue(AVKey.INITIAL_ALTITUDE, 50000);

You will see that you can hover over, select, deselect, but as soon as you drag it and deselect you can’t select and drag again.

Thanks
Garrett

Activity

  1. self-assigned this
    on Nov 17, 2016
  2. added this to the milestone on Nov 17, 2016
  3. zglueck commented on Nov 17, 2016

    @zglueck
    Contributor

    @gcheadley thanks, with your example I was able to duplicate the behavior.

  4. modified the milestone: on Dec 9, 2016
  5. added a commit that references this issue on Jan 12, 2017
    580e040
  6. added this to the milestone on Jan 12, 2017
  7. pdavidc commented on Jan 12, 2017

    @pdavidc

    We've pushed changes to the develop branch that repair this issue. See commit 580e040.

    Garrett, Please try this fix and verify that it repairs the issue in your environment.

  8. self-assigned this
    on Jan 12, 2017
  9. modified the milestones: , on Jan 17, 2017
  10. modified the milestones: , on Aug 8, 2017
  11. wcmatthysen commented on Apr 10, 2019

    @wcmatthysen

    Hi @gcheadley, if this is still a bug, could you open an issue at the community-fork of WorldWind: https://github.com/WorldWindEarth/WorldWindJava

    Edit: @zglueck, I see you're now unassigned. Sorry, I didn't mean to do it.

  12. added a commit that references this issue on Aug 12, 2020
    5250a29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions