{"action":"created","issue":{"url":"https://api.github.com/repos/junichi11/netbeans-encoding-plugin/issues/20","repository_url":"https://api.github.com/repos/junichi11/netbeans-encoding-plugin","labels_url":"https://api.github.com/repos/junichi11/netbeans-encoding-plugin/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/junichi11/netbeans-encoding-plugin/issues/20/comments","events_url":"https://api.github.com/repos/junichi11/netbeans-encoding-plugin/issues/20/events","html_url":"https://github.com/junichi11/netbeans-encoding-plugin/issues/20","id":258299826,"node_id":"MDU6SXNzdWUyNTgyOTk4MjY=","number":20,"title":"Please don't remove the dropDownList if the document lost focus","user":{"login":"Chris2011","id":795658,"node_id":"MDQ6VXNlcjc5NTY1OA==","avatar_url":"https://avatars1.githubusercontent.com/u/795658?v=4","gravatar_id":"","url":"https://api.github.com/users/Chris2011","html_url":"https://github.com/Chris2011","followers_url":"https://api.github.com/users/Chris2011/followers","following_url":"https://api.github.com/users/Chris2011/following{/other_user}","gists_url":"https://api.github.com/users/Chris2011/gists{/gist_id}","starred_url":"https://api.github.com/users/Chris2011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chris2011/subscriptions","organizations_url":"https://api.github.com/users/Chris2011/orgs","repos_url":"https://api.github.com/users/Chris2011/repos","events_url":"https://api.github.com/users/Chris2011/events{/privacy}","received_events_url":"https://api.github.com/users/Chris2011/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-09-17T12:30:39Z","updated_at":"2018-10-22T19:43:02Z","closed_at":"2017-09-18T01:41:47Z","author_association":"NONE","body":"It was a bit confusing for me, after I opened my output window and I tried to find the encoding dropDown again, until I realized, that it is only there if you are in a document. When you have a look into the other statusbar components like row/columnnumber, branch, etc, they are already there.\r\n\r\nOf course it doesn't make sense for your dropDownList but I would prefer to not hide it, more to deactivate it. Sometimes it is not a good UX to hide stuff which you don't need but of course it is context sensitve.\r\n\r\nMaybe it would be good to have a little tooltip on top of it, if you try to click it, that it says: No document focusable. Or smth like that.\r\n\r\n\r\nRegards\r\n\r\nChris"},"comment":{"url":"https://api.github.com/repos/junichi11/netbeans-encoding-plugin/issues/comments/431954556","html_url":"https://github.com/junichi11/netbeans-encoding-plugin/issues/20#issuecomment-431954556","issue_url":"https://api.github.com/repos/junichi11/netbeans-encoding-plugin/issues/20","id":431954556,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTk1NDU1Ng==","user":{"login":"Chris2011","id":795658,"node_id":"MDQ6VXNlcjc5NTY1OA==","avatar_url":"https://avatars1.githubusercontent.com/u/795658?v=4","gravatar_id":"","url":"https://api.github.com/users/Chris2011","html_url":"https://github.com/Chris2011","followers_url":"https://api.github.com/users/Chris2011/followers","following_url":"https://api.github.com/users/Chris2011/following{/other_user}","gists_url":"https://api.github.com/users/Chris2011/gists{/gist_id}","starred_url":"https://api.github.com/users/Chris2011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chris2011/subscriptions","organizations_url":"https://api.github.com/users/Chris2011/orgs","repos_url":"https://api.github.com/users/Chris2011/repos","events_url":"https://api.github.com/users/Chris2011/events{/privacy}","received_events_url":"https://api.github.com/users/Chris2011/received_events","type":"User","site_admin":false},"created_at":"2018-10-22T19:43:02Z","updated_at":"2018-10-22T19:43:02Z","author_association":"NONE","body":"I would like to bring this up again. As you can see it here: \r\n![normal](https://user-images.githubusercontent.com/795658/47314670-a0dfb080-d642-11e8-91c5-959dcf5c2e92.gif) NetBeans will still have the exact size of Insert and row:colum. So if I switch to the startpage, it will remove the text, which is ok and will not confuse someone, but will still have the width.\r\n\r\nThat is good, because it will not jump if you try to cancel a task, what I can't do it here, when you remove the text:\r\n![encoding](https://user-images.githubusercontent.com/795658/47314755-e56b4c00-d642-11e8-8443-70ef5d9b1e6e.gif)\r\n\r\nYou see, that I want to cancel a task, which is not possible for the first time, because the Editor lost the focus and you remove the text, the field shrinks and I have to click again. This is a pain in the ass and sometimes I forget that, that your plugin acts like that. The same for any other statusline behaviour like show/switch branch.\r\n\r\nSo my solution is still that it should be there, I mean some others do the same, it shows the last entry from the lastFocusedEditor. If you still find it not good, what I can understand, I would prefer the other solution to have a fixed width of your label and remove only the text.\r\n\r\nHere is a little workaround, not nice but works ok: https://bitbucket.org/jlahoda/crlf/src/default/crlf/src/com/kenai/pelmel/crlf/CRLFStatus.java?fileviewer=file-view-default#CRLFStatus.java-96\r\n\r\nThis plugin does the same, it uses JLabel(\"   \") for doing this, but I think it will make a calculation, hopefully.\r\n\r\nWhat do you think?\r\n"}}
{"actor":{"display_login":"Chris2011"}}