René's URL Explorer Experiment


Title: BasicAnnotationRenderer picking bug · Issue #196 · NASAWorldWind/WorldWindJava · GitHub

Open Graph Title: BasicAnnotationRenderer picking bug · Issue #196 · NASAWorldWind/WorldWindJava

X Title: BasicAnnotationRenderer picking bug · Issue #196 · NASAWorldWind/WorldWindJava

Description: public void pick(DrawContext dc, java.awt.Point pickPoint) { OGLStackHandler stackHandler = new OGLStackHandler(); BasicAnnotationRenderer.this.pickSupport.clearPickList(); BasicAnnotationRenderer.this.beginDrawAnnotations(dc, stackHandl...

Open Graph Description: public void pick(DrawContext dc, java.awt.Point pickPoint) { OGLStackHandler stackHandler = new OGLStackHandler(); BasicAnnotationRenderer.this.pickSupport.clearPickList(); BasicAnnotationRenderer....

X Description: public void pick(DrawContext dc, java.awt.Point pickPoint) { OGLStackHandler stackHandler = new OGLStackHandler(); BasicAnnotationRenderer.this.pickSupport.clearPickList(); BasicAnnotationRenderer....

Opengraph URL: https://github.com/NASAWorldWind/WorldWindJava/issues/196

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"BasicAnnotationRenderer picking bug","articleBody":"```java       \r\n        public void pick(DrawContext dc, java.awt.Point pickPoint)\r\n        {\r\n            OGLStackHandler stackHandler = new OGLStackHandler();\r\n            BasicAnnotationRenderer.this.pickSupport.clearPickList();\r\n            BasicAnnotationRenderer.this.beginDrawAnnotations(dc, stackHandler);\r\n            try\r\n            {\r\n                this.annotation.setPickSupport(BasicAnnotationRenderer.this.pickSupport);\r\n                this.doRender(dc, this);\r\n                // Draw as many as we can in a batch to save ogl state switching.\r\n                while (dc.peekOrderedRenderables() instanceof OrderedAnnotation)\r\n                {\r\n                    OrderedAnnotation oa = (OrderedAnnotation) dc.pollOrderedRenderables();\r\n                    oa.annotation.setPickSupport(BasicAnnotationRenderer.this.pickSupport);\r\n                    this.doRender(dc, oa);\r\n                }\r\n            }\r\n            catch (WWRuntimeException e)\r\n            {\r\n                Logging.logger().log(Level.SEVERE, \"generic.ExceptionWhilePickingAnnotation\", e);\r\n            }\r\n            catch (Exception e)\r\n            {\r\n                Logging.logger().log(Level.SEVERE, \"generic.ExceptionWhilePickingAnnotation\", e);\r\n            }\r\n            finally\r\n            {\r\n                BasicAnnotationRenderer.this.endDrawAnnotations(dc, stackHandler);\r\n                BasicAnnotationRenderer.this.pickSupport.resolvePick(dc, pickPoint, this.layer);\r\n                BasicAnnotationRenderer.this.pickSupport.clearPickList(); // to ensure entries can be garbage collected\r\n            }\r\n        }\r\n```\r\n\r\nThis method within BasicAnnotationRenderer handles picking for many different instances of OrderedAnnotation at the same time. There is no guarantee that the different instances of OrderedAnnotation will share the same parent layer.\r\n\r\nConsider two instances of OrderedAnnotation\r\n\r\n1) ScreenAnnotation, Parent=ViewControlsLayer\r\n2) GlobeAnnotation, Parent=SomeOtherLayer\r\n\r\nIf the pick method were first called on OrderedAnnotation 2, then the call to BasicAnnotationRenderer.this.pickSupport.resolvePick(dc, pickPoint, this.layer) will assign the parent of the picked object to \"SomeOtherLayer\" even if the topPickedObject was the ScreenAnnotation from the ViewControlsLayer. \r\n\r\nThis causes picking to fail for annotations, especially for ViewControlsLayer, because there is a check to validate that the parent of the top picked object (the ScreenAnnotation of the ViewControlsLayer) is the ViewControlsLayer, when in fact it is the parent layer of some other annotation.\r\n\r\nThis issue can be reproduced by aligning a button on the ViewControlsLayer with a GlobeAnnotation so that they render on top of each other. When this happens the ViewControlsLayer will not be properly hoverable or clickable even though it is the topPickedObject. \r\n\r\nExpected behavior: If the topPickedObject during picking was an instance of OrderedAnnotation, its parent layer must be set to its actual parent layer, not an unrelated layer also containing an OrderedAnnotation. \r\n\r\nReproduces: 100%\r\n\r\nOS / Version: Not Applicable","author":{"url":"https://github.com/feldhausenryan","@type":"Person","name":"feldhausenryan"},"datePublished":"2020-04-02T20:15:04Z","url":"https://github.com/NASAWorldWind/WorldWindJava/issues/196"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:aa143206-d286-015e-825d-eb0eb96bf487
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id855C:341AC2:1A55C5:241C85:6B0809E8
html-safe-noncefd33467769646177c3b68e15f4e10275162c06a9d4652963006effaea1796202
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTVDOjM0MUFDMjoxQTU1QzU6MjQxQzg1OjZCMDgwOUU4IiwidmlzaXRvcl9pZCI6IjEzODY3ODU0MzQ5MDIyMDI4NTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7f3a9f5d7d91b201691f99a75b2b94d7442769f63ab0309aa1e2ce2f60c68236
hovercard-subject-tagissue:592898100
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NASAWorldWind/WorldWindJava/196/issue_layout
twitter:imagehttps://opengraph.githubassets.com/8d107dd4c9007084481f403aea4d06f89291e9ec56a242d3194c909cadda85d6/NASAWorldWind/WorldWindJava/issues/196
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8d107dd4c9007084481f403aea4d06f89291e9ec56a242d3194c909cadda85d6/NASAWorldWind/WorldWindJava/issues/196
og:image:altpublic void pick(DrawContext dc, java.awt.Point pickPoint) { OGLStackHandler stackHandler = new OGLStackHandler(); BasicAnnotationRenderer.this.pickSupport.clearPickList(); BasicAnnotationRenderer....
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefeldhausenryan
hostnamegithub.com
expected-hostnamegithub.com
Nonee7fc09dde6eb2239ee8ccebb1ae25db9baf98106fa8a9226504867ad8c6796eb
turbo-cache-controlno-preview
go-importgithub.com/NASAWorldWind/WorldWindJava git https://github.com/NASAWorldWind/WorldWindJava.git
octolytics-dimension-user_id14023654
octolytics-dimension-user_loginNASAWorldWind
octolytics-dimension-repository_id45006285
octolytics-dimension-repository_nwoNASAWorldWind/WorldWindJava
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id45006285
octolytics-dimension-repository_network_root_nwoNASAWorldWind/WorldWindJava
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7ed1dceffaf1a002c986fe8b058e5cc633009e43
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/NASAWorldWind/WorldWindJava/issues/196#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNASAWorldWind%2FWorldWindJava%2Fissues%2F196
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNASAWorldWind%2FWorldWindJava%2Fissues%2F196
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=NASAWorldWind%2FWorldWindJava
Reloadhttps://github.com/NASAWorldWind/WorldWindJava/issues/196
Reloadhttps://github.com/NASAWorldWind/WorldWindJava/issues/196
Reloadhttps://github.com/NASAWorldWind/WorldWindJava/issues/196
NASAWorldWindhttps://github.com/NASAWorldWind
WorldWindJavahttps://github.com/NASAWorldWind/WorldWindJava
Codehttps://github.com/NASAWorldWind/WorldWindJava
Issues118 (118)https://github.com/NASAWorldWind/WorldWindJava/issues
Pull requests37 (37)https://github.com/NASAWorldWind/WorldWindJava/pulls
Security and qualityhttps://github.com/NASAWorldWind/WorldWindJava/security
Insightshttps://github.com/NASAWorldWind/WorldWindJava/insights
https://github.com/NASAWorldWind/WorldWindJava
New issuehttps://github.com/login?return_to=https://github.com/NASAWorldWind/WorldWindJava/issues/196
New issuehttps://github.com/login?return_to=https://github.com/NASAWorldWind/WorldWindJava/issues/196
BasicAnnotationRenderer picking bughttps://github.com/NASAWorldWind/WorldWindJava/issues/196#top
https://github.com/feldhausenryan
feldhausenryanhttps://github.com/feldhausenryan
on Apr 2, 2020https://github.com/NASAWorldWind/WorldWindJava/issues/196#issue-592898100
Sign up for freehttps://github.com/signup?return_to=https://github.com/NASAWorldWind/WorldWindJava/issues/196
Sign in to commenthttps://github.com/login?return_to=https://github.com/NASAWorldWind/WorldWindJava/issues/196
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.