An inconvenience:
1. Configure some keybindings for Next Message, Switch to Messages, and Switch to Editor. 2. Do something (e.g. find in files) to populate the messages pane. 3. Press the Next Message key. The next message is selected (highlighted). 4. Press the Switch to Messages key, then press the Switch to Editor key. 5. Press the Next Message key again. The next message is again selected. 6. Press the Switch to Messages key again. You will see that the GTK+ keyboard focus is not on the currently selected (highlighted) message, but rather still on the message that was selected back in step 3.
Here’s a screenshot (notice how the selected message is not the same as the one with the focus box around it):
![geany-focus](https://cloud.githubusercontent.com/assets/300211/16467792/8ef63c30-3e51-11e...)
Why is this a problem? — Because if I switch to the messages pane and use the up/down keys to navigate around the list (e.g. when I want to skip a bunch of messages), navigation starts from the focus, not from the selection. In effect, I am thrown back to some previous point and have to find the “current” message on my own.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1098
I have an [obvious patch](https://github.com/vfaronov/geany/commit/92c5b22813cf065d848242f526f95fc65c8...) that fixes this issue for me, but I’m not experienced with GTK+ so it may be wrong. Let me know if you want me to make a pull request from that.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1098#issuecomment-229485877
Patch look fair, but I guess that code should simply use cursor rather than selection all the way. Should even remove any need to manually scroll and whatnot.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1098#issuecomment-229486874
@elextr If the “waiting for information” label on this issue refers to me, I’m not sure what information I can provide
@vfaronov oops wrong one, changed, just indicates waiting for you to look at the suggestions by @b4n.
@elextr If you mean the suggestion to
use cursor rather than selection all the way
then I’m afraid I’m not working on that at the moment, so probably best to remove the WIP label so as not to discourage others from possibly taking a look :)
github-comments@lists.geany.org