Title: --present --display=
Open Graph Title: --present --display=
X Title: --present --display=
Description: Original author: nneon...@gmail.com (February 21, 2012 17:40:49) This may be related to http://code.google.com/p/processing/issues/detail?id=71, but the bug's cause appears to be different. The following sketch should display full-screen...
Open Graph Description: Original author: nneon...@gmail.com (February 21, 2012 17:40:49) This may be related to http://code.google.com/p/processing/issues/detail?id=71, but the bug's cause appears to be different. The fol...
X Description: Original author: nneon...@gmail.com (February 21, 2012 17:40:49) This may be related to http://code.google.com/p/processing/issues/detail?id=71, but the bug's cause appears to be different. The...
Mail addresses
nneon...@gmail.com
Opengraph URL: https://github.com/processing/processing/issues/1037
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"--present --display=\u003cn\u003e doesn't work correctly on Mac OS X","articleBody":"_Original author: nneon...@gmail.com (February 21, 2012 17:40:49)_\n\nThis may be related to http://code.google.com/p/processing/issues/detail?id=71, but the bug's cause appears to be different.\n\nThe following sketch should display full-screen sketches on two displays:\n\npackage com.example.test;\nimport processing.core.PApplet;\n\npublic class MultiwindowTest extends PApplet {\n public void setup() {\n size(100, 100);\n }\n\n```\npublic void draw() {\n fill(255, 0, 0);\n rect(25, 25, 50, 50);\n}\n\npublic static void main(String args[]) {\n PApplet.main(new String[] { \u0026quot;--present\u0026quot;, \u0026quot;--display=1\u0026quot;, \u0026quot;com.example.test.MultiwindowTest\u0026quot; });\n PApplet.main(new String[] { \u0026quot;--present\u0026quot;, \u0026quot;--display=2\u0026quot;, \u0026quot;com.example.test.MultiwindowTest\u0026quot; });\n}\n```\n\n}\n\nHowever, on Mac OS X, two windows appear on the primary display, one of which is sized to the other display. In my case, I have a 1440x900 laptop display (#1) hooked up to a 1024x768 VGA projector (#2), so I get a 1440x900 window and a 1024x768 window.\n\nI am using Processing 1.5.1 through Eclipse on Mac OS X 10.7.3.\n\nI believe the problem is this line in PApplet.java:\nhttp://code.google.com/p/processing/source/browse/trunk/processing/core/src/processing/core/PApplet.java#9180\nOn Mac OS X, this will set the top-left of the present window to the primary display's top-left corner, instead of the top-left corner of the desired display.\n\nAs a workaround, perhaps \u0026quot;--location\u0026quot; could be used to override the determination the top-left corner, so that we could use e.g.\n--location=-1024,0\nto force the present window to appear on a VGA display attached on the left of the main display.\n\nNote too that using \u0026quot;--exclusive --present\u0026quot; also works around the problem (it produces two full-screen windows on separate displays), but it is troublesome in the event that exclusive mode is not desired.\n\n_Original issue: http://code.google.com/p/processing/issues/detail?id=999_\n","author":{"url":"https://github.com/processing-bugs","@type":"Person","name":"processing-bugs"},"datePublished":"2013-02-10T17:12:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/1037/processing/issues/1037"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c89e9f5d-d043-df22-e79e-9fb20a8f7646 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8FF4:297EC:4748080:63070D7:69714CDB |
| html-safe-nonce | 2bd8c775b87163951b5756052481086811ae8fdc96c5225c1308de9cdeb6bf10 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RkY0OjI5N0VDOjQ3NDgwODA6NjMwNzBENzo2OTcxNENEQiIsInZpc2l0b3JfaWQiOiI4MTgxMDM3ODI4Njk1NzM5NjExIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 89c7fff2afb884f8bbdd36dd000145c3f64dcb51c3f862f3b25c7459178a26d9 |
| hovercard-subject-tag | issue:10825802 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/processing/processing/1037/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fde316e56e0850161b37f9d0fc6b8202cd05c3f8c503a19a55d070ad2a34c899/processing/processing/issues/1037 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fde316e56e0850161b37f9d0fc6b8202cd05c3f8c503a19a55d070ad2a34c899/processing/processing/issues/1037 |
| og:image:alt | Original author: nneon...@gmail.com (February 21, 2012 17:40:49) This may be related to http://code.google.com/p/processing/issues/detail?id=71, but the bug's cause appears to be different. The fol... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | processing-bugs |
| hostname | github.com |
| expected-hostname | github.com |
| None | da7cbccf7f40bcd9540003423d9bef63b2fe7bb0b73fc59d91b5ae5b46000c90 |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c9e6c71b091ca750658a3b2e3c82b0b85555f788 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width