{"action":"created","issue":{"url":"https://api.github.com/repos/i3/i3/issues/2383","repository_url":"https://api.github.com/repos/i3/i3","labels_url":"https://api.github.com/repos/i3/i3/issues/2383/labels{/name}","comments_url":"https://api.github.com/repos/i3/i3/issues/2383/comments","events_url":"https://api.github.com/repos/i3/i3/issues/2383/events","html_url":"https://github.com/i3/i3/issues/2383","id":161334650,"number":2383,"title":"workspace next / prev commands behave unexpectedly from first / last workspace","user":{"login":"jplatte","id":951129,"avatar_url":"https://avatars.githubusercontent.com/u/951129?v=3","gravatar_id":"","url":"https://api.github.com/users/jplatte","html_url":"https://github.com/jplatte","followers_url":"https://api.github.com/users/jplatte/followers","following_url":"https://api.github.com/users/jplatte/following{/other_user}","gists_url":"https://api.github.com/users/jplatte/gists{/gist_id}","starred_url":"https://api.github.com/users/jplatte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jplatte/subscriptions","organizations_url":"https://api.github.com/users/jplatte/orgs","repos_url":"https://api.github.com/users/jplatte/repos","events_url":"https://api.github.com/users/jplatte/events{/privacy}","received_events_url":"https://api.github.com/users/jplatte/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/i3/i3/labels/4.12","name":"4.12","color":"009800"},{"url":"https://api.github.com/repos/i3/i3/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/i3/i3/labels/reproducible","name":"reproducible","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-06-21T02:05:14Z","updated_at":"2016-07-31T10:27:37Z","closed_at":null,"body":"Output of `i3 --moreversion 2>&- || i3 --version`:\r\n\r\n```\r\nBinary i3 version:  4.12 (2016-03-06, branch \"4.12\") © 2009 Michael Stapelberg and contributors\r\nRunning i3 version: 4.12 (2016-03-06, branch \"4.12\") (pid 694)\r\nLoaded i3 config: /home/jplatte/.i3/config (Last modified: Mo 20 Jun 2016 23:57:37 CEST, 13948 seconds ago)\r\n\r\nThe i3 binary you just called: /usr/bin/i3\r\nThe i3 binary you are running: i3\r\n```\r\n\r\nURL to a logfile as per http://i3wm.org/docs/debugging.html: Will create one if actually required.\r\n\r\n**What I did:**\r\n\r\nExecute (via dmenu or xbindkeys mouse button mapping) `i3-msg 'workspace next'` on the last workspace on the right, secondary monitor.\r\n\r\n**What I saw:**\r\n\r\ni3 changes to the first workspace on that monitor.\r\n\r\n**What I expected instead:**\r\n\r\ni3 should change to the first workspace, no matter the output.\r\n\r\n---\r\n\r\nI can also reproduce this with 'workspace prev' on the first workspace when that workspace is on my left, primary monitor. In that case i3 switches to the last workspace on that output, instead of the overall last workspace. Interestingly, I can't reproduce this if I switch the outputs the workspaces are on.\r\n\r\nI can however reproduce it when both the first and the last workspace are on the same output. In that case, it again depends on which output the workspaces are on. On the left monitor, 'workspace next' behaves unexpectedly (goes to the first workspace on the right monitor) and on the right monitor, 'workspace prev' behaves unexpectedly (goes to the last workspace on the left monitor).\r\n\r\nI guess it could be that 'workspace next' on the last workspace always only considers workspaces on the right monitor / secondary output, while 'workspace prev' on the first workspace always only considers workspaces on the left monitor / primary output?"},"comment":{"url":"https://api.github.com/repos/i3/i3/issues/comments/236422453","html_url":"https://github.com/i3/i3/issues/2383#issuecomment-236422453","issue_url":"https://api.github.com/repos/i3/i3/issues/2383","id":236422453,"user":{"login":"Airblader","id":2392216,"avatar_url":"https://avatars.githubusercontent.com/u/2392216?v=3","gravatar_id":"","url":"https://api.github.com/users/Airblader","html_url":"https://github.com/Airblader","followers_url":"https://api.github.com/users/Airblader/followers","following_url":"https://api.github.com/users/Airblader/following{/other_user}","gists_url":"https://api.github.com/users/Airblader/gists{/gist_id}","starred_url":"https://api.github.com/users/Airblader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Airblader/subscriptions","organizations_url":"https://api.github.com/users/Airblader/orgs","repos_url":"https://api.github.com/users/Airblader/repos","events_url":"https://api.github.com/users/Airblader/events{/privacy}","received_events_url":"https://api.github.com/users/Airblader/received_events","type":"User","site_admin":false},"created_at":"2016-07-31T10:27:37Z","updated_at":"2016-07-31T10:27:37Z","body":"I use workspaces the same way. I have exactly ten of which I only use a few most of the time. I know where my stuff is because I like to work in an organized manner and hence switch directly to workspaces. The only other thing I use is the back and forth command. I've also been using a single monitor lately. I occasionally use two for presentations and the like, though. "}}
{"actor":{"display_login":"Airblader"}}