b4n left a comment (geany/geany#4012)

I *finally* found the issue:

## steps to reproduce

* Make sure you have the search field in the toolbar, and that it is visible
* Search something: it should behave properly, not skipping matches
* Now, reduce the window width so that the entry overflows: it gets hidden.
* Click the dropdown at the end of the toolbar, which shows a menu, including 
*Search Field*
* Grow the window back to the entry is visible again
* Search something: it skips a match.

If you open the overflow toolbar menu more than once, it'll skip more than one 
match at a time.

---

What actually happens is that every time *any* proxy for the action (here, the 
menu item that was created automatically) is created, well' re-connect the 
signals *on the last entry we created for that action*, and as we didn't create 
a new entry for the menu item, we re-connect the signals on existing entry, 
emitting them twice, thrice or as many times as an foreign item was created.

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

Message ID: <geany/geany/issues/4012/2917634...@github.com>

Reply via email to