René's URL Explorer Experiment


Title: Display detection fails in Processing 4.5.6 on macOS + pixelDensity() · Issue #1551 · processing/processing4 · GitHub

Open Graph Title: Display detection fails in Processing 4.5.6 on macOS + pixelDensity() · Issue #1551 · processing/processing4

X Title: Display detection fails in Processing 4.5.6 on macOS + pixelDensity() · Issue #1551 · processing/processing4

Description: Most appropriate sub-area of Processing 4? Core/Environment/Rendering Processing version 4.5.6 Operating system macOS Tahoe 26.5.2 (25F84) Bug description Running an empty sketch in Processing 4.5.6 produces the following warnings: displ...

Open Graph Description: Most appropriate sub-area of Processing 4? Core/Environment/Rendering Processing version 4.5.6 Operating system macOS Tahoe 26.5.2 (25F84) Bug description Running an empty sketch in Processing 4.5....

X Description: Most appropriate sub-area of Processing 4? Core/Environment/Rendering Processing version 4.5.6 Operating system macOS Tahoe 26.5.2 (25F84) Bug description Running an empty sketch in Processing 4.5....

Opengraph URL: https://github.com/processing/processing4/issues/1551

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Display detection fails in Processing 4.5.6 on macOS + pixelDensity()","articleBody":"### Most appropriate sub-area of Processing 4?\n\nCore/Environment/Rendering\n\n### Processing version\n\n4.5.6\n\n### Operating system\n\nmacOS Tahoe 26.5.2 (25F84)\n\n### Bug description\n\nRunning an empty sketch in Processing 4.5.6 produces the following warnings:\n\n\n```\ndisplay count needs to be implemented for non-AWT\nAWT disabled, displayWidth/displayHeight will be 0\n```\n\n\nAdditionally, calling `pixelDensity(2)` produces this error:\n\n\n```\npixelDensity(2) is not available for this display\n```\n\nProcessing should detect the display dimensions and use `pixelDensity(2)` by default on the built-in Retina display.\n\nRegression for:\n\n* https://github.com/processing/processing4/pull/1226\n* https://github.com/processing/processing4/pull/1038\n\n### Steps to reproduce this\n\n1. Install Processing 4.5.6 on macOS.\n2. Open Processing and create a new sketch.\n3. Run the sketch below.\n4. Observe the display-count and `displayWidth`/`displayHeight` warnings in the console.\n5. Uncomment `pixelDensity(2)`.\n6. Run the sketch again.\n7. Observe the `pixelDensity(2) is not available for this display` error.\n\n### snippet\n\n```processing\nvoid setup(){\n  size(640,400);\n  //pixelDensity(2);\n}\n\nvoid draw(){\n  line(10,10,630,390);\n}\n```\n\n\n### Additional context\n\n\u003cimg width=\"1118\" height=\"717\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/76fb1896-cab4-4f41-811d-d05761e5874c\" />\n\n### Would you like to work on the issue?\n\nNo, I’m just reporting the issue","author":{"url":"https://github.com/SableRaf","@type":"Person","name":"SableRaf"},"datePublished":"2026-07-20T12:42:54Z","url":"https://github.com/processing/processing4/issues/1551"}

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:a323cf50-3b31-e303-6594-5e300dda90bc
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEBA6:8ECF4:3F4A9D:56BDE5:6B060382
html-safe-noncec780c131b16672f51b421191bfc111f8dcfb9074e952cebe7251db4103b1fd17
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkE2OjhFQ0Y0OjNGNEE5RDo1NkJERTU6NkIwNjAzODIiLCJ2aXNpdG9yX2lkIjoiNzIyMzI0MDAzNDE1MjIxOTUyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb1dac86051e1370636a25da7775793c7b9d4117224b383d42f34e1602a7bb4cd
hovercard-subject-tagissue:4929034112
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/processing/processing4/1551/issue_layout
twitter:imagehttps://opengraph.githubassets.com/8d80cbe32a8ae2187e5a03f07cc102cb1c010cc270cb4d3e8e6e600117e945e9/processing/processing4/issues/1551
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8d80cbe32a8ae2187e5a03f07cc102cb1c010cc270cb4d3e8e6e600117e945e9/processing/processing4/issues/1551
og:image:altMost appropriate sub-area of Processing 4? Core/Environment/Rendering Processing version 4.5.6 Operating system macOS Tahoe 26.5.2 (25F84) Bug description Running an empty sketch in Processing 4.5....
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSableRaf
hostnamegithub.com
expected-hostnamegithub.com
None47127d2f2009e000f3401193f8b4163109ac669adad0804de1ee0e6333ca7b9e
turbo-cache-controlno-preview
go-importgithub.com/processing/processing4 git https://github.com/processing/processing4.git
octolytics-dimension-user_id1617169
octolytics-dimension-user_loginprocessing
octolytics-dimension-repository_id844382769
octolytics-dimension-repository_nwoprocessing/processing4
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id844382769
octolytics-dimension-repository_network_root_nwoprocessing/processing4
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
release0760ea46a027ba5099cdef7abd54f27865eb4f44
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/processing/processing4/issues/1551#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprocessing%2Fprocessing4%2Fissues%2F1551
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%2Fprocessing%2Fprocessing4%2Fissues%2F1551
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=processing%2Fprocessing4
Reloadhttps://github.com/processing/processing4/issues/1551
Reloadhttps://github.com/processing/processing4/issues/1551
Reloadhttps://github.com/processing/processing4/issues/1551
processinghttps://github.com/processing
processing4https://github.com/processing/processing4
Codehttps://github.com/processing/processing4
Issues265 (265)https://github.com/processing/processing4/issues
Pull requests22 (22)https://github.com/processing/processing4/pulls
Actionshttps://github.com/processing/processing4/actions
Projectshttps://github.com/processing/processing4/projects
Wikihttps://github.com/processing/processing4/wiki
Security and qualityhttps://github.com/processing/processing4/security
Insightshttps://github.com/processing/processing4/insights
https://github.com/processing/processing4
New issuehttps://github.com/login?return_to=https://github.com/processing/processing4/issues/1551
New issuehttps://github.com/login?return_to=https://github.com/processing/processing4/issues/1551
Display detection fails in Processing 4.5.6 on macOS + pixelDensity()https://github.com/processing/processing4/issues/1551#top
https://github.com/manoellribeiro
bughttps://github.com/processing/processing4/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/SableRaf
SableRafhttps://github.com/SableRaf
on Jul 20, 2026https://github.com/processing/processing4/issues/1551#issue-4929034112
Add warning for default pixelDensity behavior #1226https://github.com/processing/processing4/pull/1226
Change the default display density #1038https://github.com/processing/processing4/pull/1038
https://private-user-images.githubusercontent.com/290261/623896823-76fb1896-cab4-4f41-811d-d05761e5874c.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTU1NTY1MjYsIm5iZiI6MTc5NTU1NjIyNiwicGF0aCI6Ii8yOTAyNjEvNjIzODk2ODIzLTc2ZmIxODk2LWNhYjQtNGY0MS04MTFkLWQwNTc2MWU1ODc0Yy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYxMTI0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MTEyNFQyMTM3MDZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yYzM0MDZlMmE0MWNmMWZmZmE5M2ZiOTMzY2ZkNTAzM2UxMjU1OGM3ZjI0NzYwNmZkN2QzNzVmMjE5Y2E1ZjRiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.N4LmCc1iNnRakemTBwjcLe8TukEfTE7Q2BKHE9LslIc
SableRafhttps://github.com/SableRaf
catilachttps://github.com/catilac
on Jul 20, 2026https://github.com/processing/processing4/issues/1551#event-28212111936
SableRafhttps://github.com/SableRaf
bughttps://github.com/processing/processing4/issues?q=state%3Aopen%20label%3A%22bug%22
on Jul 20, 2026https://github.com/processing/processing4/issues/1551#event-28212113046
https://github.com/SableRaf
SableRafhttps://github.com/SableRaf
on Aug 31, 2026https://github.com/processing/processing4/issues/1551#issuecomment-5479182366
https://discourse.processing.org/t/display-count-needs-to-be-implemented-for-non-awt/49232https://discourse.processing.org/t/display-count-needs-to-be-implemented-for-non-awt/49232
https://github.com/AlexRussellArtist
AlexRussellArtisthttps://github.com/AlexRussellArtist
on Aug 31, 2026https://github.com/processing/processing4/issues/1551#issuecomment-5481101036
@SableRafhttps://github.com/SableRaf
https://github.com/SableRaf
SableRafhttps://github.com/SableRaf
on Sep 11, 2026https://github.com/processing/processing4/issues/1551#issuecomment-5635146977
@manoellribeirohttps://github.com/manoellribeiro
https://github.com/manoellribeiro
manoellribeirohttps://github.com/manoellribeiro
on Sep 11, 2026https://github.com/processing/processing4/issues/1551#issuecomment-5635284702
@SableRafhttps://github.com/SableRaf
SableRafhttps://github.com/SableRaf
manoellribeirohttps://github.com/manoellribeiro
catilachttps://github.com/catilac
on Sep 12, 2026https://github.com/processing/processing4/issues/1551#event-31014298031
https://github.com/SableRaf
SableRafhttps://github.com/SableRaf
on Sep 12, 2026https://github.com/processing/processing4/issues/1551#issuecomment-5644392003
@manoellribeirohttps://github.com/manoellribeiro
tychedeliahttps://github.com/tychedelia
on Sep 14, 2026https://github.com/processing/processing4/issues/1551#event-31136558273
Fix: only pass --disable-awt for WebGPU rendererhttps://github.com/processing/processing4/commit/76feca7ffe9863e5e3f259d0cfaa0473c59b045d
76feca7https://github.com/processing/processing4/commit/76feca7ffe9863e5e3f259d0cfaa0473c59b045d
https://github.com/catilac
catilachttps://github.com/catilac
on Sep 18, 2026https://github.com/processing/processing4/issues/1551#issuecomment-5733070328
catilachttps://github.com/catilac
completedhttps://github.com/processing/processing4/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Sep 18, 2026https://github.com/processing/processing4/issues/1551#event-31403394501
Sign up for freehttps://github.com/signup?return_to=https://github.com/processing/processing4/issues/1551
Sign in to commenthttps://github.com/login?return_to=https://github.com/processing/processing4/issues/1551
manoellribeirohttps://github.com/manoellribeiro
bughttps://github.com/processing/processing4/issues?q=state%3Aopen%20label%3A%22bug%22
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.