{"action":"created","issue":{"url":"https://api.github.com/repos/Merovius/shellex/issues/64","repository_url":"https://api.github.com/repos/Merovius/shellex","labels_url":"https://api.github.com/repos/Merovius/shellex/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/Merovius/shellex/issues/64/comments","events_url":"https://api.github.com/repos/Merovius/shellex/issues/64/events","html_url":"https://github.com/Merovius/shellex/issues/64","id":341232167,"node_id":"MDU6SXNzdWUzNDEyMzIxNjc=","number":64,"title":"Shellex bar doesn't open","user":{"login":"benoncoffee","id":35708993,"node_id":"MDQ6VXNlcjM1NzA4OTkz","avatar_url":"https://avatars1.githubusercontent.com/u/35708993?v=4","gravatar_id":"","url":"https://api.github.com/users/benoncoffee","html_url":"https://github.com/benoncoffee","followers_url":"https://api.github.com/users/benoncoffee/followers","following_url":"https://api.github.com/users/benoncoffee/following{/other_user}","gists_url":"https://api.github.com/users/benoncoffee/gists{/gist_id}","starred_url":"https://api.github.com/users/benoncoffee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benoncoffee/subscriptions","organizations_url":"https://api.github.com/users/benoncoffee/orgs","repos_url":"https://api.github.com/users/benoncoffee/repos","events_url":"https://api.github.com/users/benoncoffee/events{/privacy}","received_events_url":"https://api.github.com/users/benoncoffee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-14T12:13:19Z","updated_at":"2018-07-14T17:50:24Z","closed_at":null,"author_association":"NONE","body":"I did a fresh install of Arch Linux with i3gaps. I installed shellex via the Arch User Repository (AUR), and configured i3 to bind alt+d to shellex.\r\n\r\nWhen I press alt+d, a dark bar is visible at the top of my screen for about 0.1 second. Running shellex from the terminal gives the following output:\r\n```\r\nruben@T410 » shellex                                                                                             ~\r\nposition should be at the top\r\nGetting shellex-position from focused window\r\nsize_change(1440, 15)\r\nurxvt: An X Error occurred, trying to continue after report.\r\nurxvt: + Serial number of failed request:  147\r\nurxvt: + X Error of failed request: BadValue (integer parameter out of range for operation)\r\nurxvt: + Major opcode of failed request:  12\r\nurxvt: + (which is X_ConfigureWindow)\r\nurxvt: + Value in failed request:  0x0\r\nline_update(row = 0)\r\nresizing to 1\r\nsize_change(1440, 17)\r\nline_update(row = 1)\r\nresizing to 1\r\nline_update(row = 2)\r\nresizing to 1\r\nline_update(row = 3)\r\nresizing to 1\r\n```\r\n(the line_update(row=..) and resizing continues until row = 23).\r\n\r\nFor me, commenting out the first line of the shellex script in /usr/bin/shellex, fixes the issue (that is, I put changed the line \r\n`LD_PRELOAD=\"/usr/lib/shellex/shellex_preload.so\"`\r\nto\r\n`# LD_PRELOAD=\"/usr/lib/shellex/shellex_preload.so\"`\r\n\r\nSo I do have a workaround for this issue (although I haven't tested it thoroughly). I am reporting this issue just for the record. I can't change the status of this issue myself, so it's \"open\" for now. I figured that LD_PRELOAD might be doing something important, so it's possible that I will run into other issues as a result later."},"comment":{"url":"https://api.github.com/repos/Merovius/shellex/issues/comments/405039188","html_url":"https://github.com/Merovius/shellex/issues/64#issuecomment-405039188","issue_url":"https://api.github.com/repos/Merovius/shellex/issues/64","id":405039188,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTAzOTE4OA==","user":{"login":"pseyfert","id":5124749,"node_id":"MDQ6VXNlcjUxMjQ3NDk=","avatar_url":"https://avatars2.githubusercontent.com/u/5124749?v=4","gravatar_id":"","url":"https://api.github.com/users/pseyfert","html_url":"https://github.com/pseyfert","followers_url":"https://api.github.com/users/pseyfert/followers","following_url":"https://api.github.com/users/pseyfert/following{/other_user}","gists_url":"https://api.github.com/users/pseyfert/gists{/gist_id}","starred_url":"https://api.github.com/users/pseyfert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pseyfert/subscriptions","organizations_url":"https://api.github.com/users/pseyfert/orgs","repos_url":"https://api.github.com/users/pseyfert/repos","events_url":"https://api.github.com/users/pseyfert/events{/privacy}","received_events_url":"https://api.github.com/users/pseyfert/received_events","type":"User","site_admin":false},"created_at":"2018-07-14T17:50:24Z","updated_at":"2018-07-14T17:50:24Z","author_association":"COLLABORATOR","body":"Thanks for reporting, I think the AUR version uses the latest tag (I should tag a new version) do you mind trying with the master version from github?\r\n\r\nIn layperson's terms, the preload library steers the resizing behaviour, so this gets relevant when you tab complete something with many suggestions and we need to ensure shellex doesn't grow larger than the screen and the shell knows how much space it has and when to start scrolling through completions.\r\nI'm not sure what to expect when the preload is missing completely but starting applications should work just fine."}}
{"actor":{"display_login":"pseyfert"}}