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

SurfaceText Picking / Drag problem #28

Closed
gcheadley opened this issue Nov 17, 2016 · 3 comments
Closed

SurfaceText Picking / Drag problem #28

gcheadley opened this issue Nov 17, 2016 · 3 comments
Assignees
Labels
Milestone

Comments

@gcheadley
Copy link

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

@zglueck zglueck added the bug label Nov 17, 2016
@zglueck zglueck self-assigned this Nov 17, 2016
@zglueck zglueck added this to the v2.1.0 milestone Nov 17, 2016
@zglueck
Copy link
Contributor

zglueck commented Nov 17, 2016

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

@pdavidc pdavidc modified the milestone: v2.1.0 Dec 9, 2016
@pdavidc pdavidc added this to the v2.2.0 milestone Jan 12, 2017
@pdavidc
Copy link
Contributor

pdavidc commented Jan 12, 2017

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.

@pdavidc pdavidc self-assigned this Jan 12, 2017
@pdavidc pdavidc modified the milestones: v2.2.0, v2.1.1 Jan 17, 2017
@pdavidc pdavidc modified the milestones: v2.1.1, v2.2.0 Aug 8, 2017
@wcmatthysen
Copy link

wcmatthysen commented Apr 10, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

4 participants