**Conditions**
- enable the sidebar
- in the sidebar: enable the tab with the title `Symbols` and the tab with the 
title `Documents`
- turn off all plugins, to be sure that the issue has not something to do with 
plugins
- open some documents in Geany

**Steps to reproduce**
1. click in the editor
2. click in the sidebar on the tab-title `Documents`
3. with the mouse: mark the first item from the top (result: the first item is 
marked)
4. click in the editor
5. click in the sidebar on the tab-title `Symbols`
6. click in the sidebar on the tab-title `Documents`
7. press 1x the arrow-down key on the keyboard (result: the next item is 
marked; so, that means that the release of a click on the tab-title after 6 
made the content-area of the tab in focus)
8. click in the editor
9. click in the sidebar on the tab-title `Documents`
10. press 1x the arrow-down key on the keyboard

**Expectation**
the next item should be marked

**Result**
nothing visible happens; that means that the release of a click on the 
tab-title in 9 didn't make the content-area of the tab in focus; so, the 
behavior after 6 is not the same behavior like after 9; but there is something 
that happens even if it is not visible: after having pressed 1x the arrow-down 
key on the keyboard in 10, the focus moves from the tab-border to the 
content-area because if one press again 1x the arrow-down key on the keyboard, 
then the next item is marked; see also "Remark I" down below

**Remark I**
in 3: instead of the first entry, mark the last entry; then do 4 to 6; then in 
7 press 1x the arrow-up key instead of the arrow-down key on the keyboard to 
mark the item before the last item; then do 8 and 9; then in 10 press 1x or 
several times the arrow-up key instead of the arrow-down key on the keyboard; 
there will be no change; one have to press first 1x the arrow-down key (!!) on 
the keyboard to move the focus from the tab-border to the content-area; then 
press 1x the arrow-up key on the keyboard to mark the second last item

**Remark II**
one can do "Steps to reproduce", but without 8

**Remark III**
in "Steps to reproduce" one need first to click in the editor, then on the 
tab-tile "Symbols" and then on the tab-title "Documents", so that the release 
of the click on the tab-title will put the content-area of the tab in focus; 
but there is also a second possibility to put the content-area of the tab in 
focus: if the tab-title "Symbols" is active while the editor has focus, and 
then if one click on the tab-title "Documents"

**History**
I reported the issue already in the year 2021 on the website of the plugin 
`Preview` (https://github.com/xiota/geany-preview/issues/15) because to that 
time I thought that the plugin `Preview` was the problem. But today I could 
reproduce the issue while all plugins were deactivated. That means that not the 
plugin `Preview` is the problem, but Geany.

**System**
Lubuntu 24.04
Geany 2.0

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3961
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/[email protected]>

Reply via email to