{"action":"created","issue":{"url":"https://api.github.com/repos/home-sweet-gnome/dash-to-panel/issues/379","repository_url":"https://api.github.com/repos/home-sweet-gnome/dash-to-panel","labels_url":"https://api.github.com/repos/home-sweet-gnome/dash-to-panel/issues/379/labels{/name}","comments_url":"https://api.github.com/repos/home-sweet-gnome/dash-to-panel/issues/379/comments","events_url":"https://api.github.com/repos/home-sweet-gnome/dash-to-panel/issues/379/events","html_url":"https://github.com/home-sweet-gnome/dash-to-panel/issues/379","id":312395906,"number":379,"title":"\"Require pressure\" intellihide setting - issue when modifying multi-monitor display arrangement","user":{"login":"aspurdy","id":1298496,"avatar_url":"https://avatars3.githubusercontent.com/u/1298496?v=4","gravatar_id":"","url":"https://api.github.com/users/aspurdy","html_url":"https://github.com/aspurdy","followers_url":"https://api.github.com/users/aspurdy/followers","following_url":"https://api.github.com/users/aspurdy/following{/other_user}","gists_url":"https://api.github.com/users/aspurdy/gists{/gist_id}","starred_url":"https://api.github.com/users/aspurdy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspurdy/subscriptions","organizations_url":"https://api.github.com/users/aspurdy/orgs","repos_url":"https://api.github.com/users/aspurdy/repos","events_url":"https://api.github.com/users/aspurdy/events{/privacy}","received_events_url":"https://api.github.com/users/aspurdy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-09T05:14:16Z","updated_at":"2018-04-13T02:10:37Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nWhen changing the display arrangement of a multiple monitor setup in gnome settings the \"pressure\" region doesn't seem to stay attached to the primary monitor. \r\n\r\nIn my case, if I swap the logical positions of my primary and secondary monitors the pressure region gets swapped to the secondary screen. \r\n\r\nPlacing the mouse at the edge of the second monitor causes the slide-up animation to play on the primary monitor, then the panel hides itself again. Restarting gnome-shell with Alt-F2 r seems to fix things, the pressure region becomes active on the primary monitor again. \r\n\r\nThank you for creating this extension!"},"comment":{"url":"https://api.github.com/repos/home-sweet-gnome/dash-to-panel/issues/comments/380999373","html_url":"https://github.com/home-sweet-gnome/dash-to-panel/issues/379#issuecomment-380999373","issue_url":"https://api.github.com/repos/home-sweet-gnome/dash-to-panel/issues/379","id":380999373,"user":{"login":"aspurdy","id":1298496,"avatar_url":"https://avatars3.githubusercontent.com/u/1298496?v=4","gravatar_id":"","url":"https://api.github.com/users/aspurdy","html_url":"https://github.com/aspurdy","followers_url":"https://api.github.com/users/aspurdy/followers","following_url":"https://api.github.com/users/aspurdy/following{/other_user}","gists_url":"https://api.github.com/users/aspurdy/gists{/gist_id}","starred_url":"https://api.github.com/users/aspurdy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspurdy/subscriptions","organizations_url":"https://api.github.com/users/aspurdy/orgs","repos_url":"https://api.github.com/users/aspurdy/repos","events_url":"https://api.github.com/users/aspurdy/events{/privacy}","received_events_url":"https://api.github.com/users/aspurdy/received_events","type":"User","site_admin":false},"created_at":"2018-04-13T02:10:37Z","updated_at":"2018-04-13T02:10:37Z","author_association":"NONE","body":"Hi Charles,\r\n\r\nThank you for your quick reply. I tried the latest master but unfortunately the issue seems to persist.\r\n\r\nSorry if my initial explanation was unclear, I was not changing the primary monitor, just the arrangement of the two monitors. In my case, I don't think `Main.layoutManager.primaryIndex` would change, but `Main.layoutManager.primaryMonitor.x` would. I assume the pressure barrier would need to be reinitialised in this case too.\r\n\r\nI tried tweaking a few things myself, I modified the `monitors-changed` callback to call `_restart()` unconditionally. Unfortunately that did not seem to work: after changing the primary monitor or modifying the monitor layout the pressure barrier becomes unresponsive. However, if I go into gnome-tweak-tools and toggle the \"Panel Intellihide\" switch (the old try turning it off and on?) everything seems to work. Restarting gnome shell has the same effect.\r\n\r\nI'm fine with these workarounds if you are planning on larger changes to support multiple monitors. "}}
{"actor":{"display_login":"aspurdy"}}