Title: Add maximize() method. Fixes #4181. by GKFX · Pull Request #4488 · processing/processing · GitHub
Open Graph Title: Add maximize() method. Fixes #4181. by GKFX · Pull Request #4488 · processing/processing
X Title: Add maximize() method. Fixes #4181. by GKFX · Pull Request #4488 · processing/processing
Description: As there doesn't seem to be an easy way to predict the maximized window's content size across platforms and renderers (you can get it with the window decoration included, but not easily without), the animation thread is blocked from starting until the window has actually maximized, and the correct content size has been established. This means that width and height have their correct values in setup(). If the user picks a renderer that doesn't support this, the sketch will start normally after a 2500ms delay, and they'll see an error message, naming their renderer as the culprit. The code for the JavaFX renderer is hacky; there just doesn't seem to be a better way. Fixes #4181.
Open Graph Description: As there doesn't seem to be an easy way to predict the maximized window's content size across platforms and renderers (you can get it with the window decoration included, but not easily wit...
X Description: As there doesn't seem to be an easy way to predict the maximized window's content size across platforms and renderers (you can get it with the window decoration included, but not ea...
Opengraph URL: https://github.com/processing/processing/pull/4488
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:94215f06-9679-cce0-3982-16ca7e7b5b38 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CE54:2EAECA:DA876B:133C0DE:696F6E67 |
| html-safe-nonce | ff756b73650615ef53970a6dbc97587e49cef65a14f7d35125ea0bbe40987a83 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTU0OjJFQUVDQTpEQTg3NkI6MTMzQzBERTo2OTZGNkU2NyIsInZpc2l0b3JfaWQiOiI4NDM1Mjg3MDY3ODQ2NDcxMjcxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c65f3a0e82fa30aca9f1ad6caa8e43e4af5038f2ea0a7221d5f39df9c08199fa |
| hovercard-subject-tag | pull_request:70528311 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/processing/processing/pull/4488/files |
| twitter:image | https://avatars.githubusercontent.com/u/5357642?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/5357642?s=400&v=4 |
| og:image:alt | As there doesn't seem to be an easy way to predict the maximized window's content size across platforms and renderers (you can get it with the window decoration included, but not easily wit... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | acc7f8c2e144976eeb6e7a73826049dd183bc572ccf5eaa9afb8265c617a97ab |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/processing/processing git https://github.com/processing/processing.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 7807399 |
| octolytics-dimension-repository_nwo | processing/processing |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7807399 |
| octolytics-dimension-repository_network_root_nwo | processing/processing |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cc546a224d6d4726a8d7c3a0dfe0cf65dbf9b7bd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width