gama-platform / gama

Main repository for developing the 2024+ versions of GAMA
https://gama-platform.org
GNU General Public License v3.0
11 stars 4 forks source link

Cannot scroll in hover documentation popup with f2 when it's already focused #204

Open lesquoyb opened 1 month ago

lesquoyb commented 1 month ago

Describe the bug On the popup that appears when hovering a keyword, we can see "Press 'F2' for focus", but if you start by clicking or selecting text on that popup, pressing F2 actually doesn't do anything. To be able to scroll in the popup, the only way is to click on the bottom part (where "Press 'F2' for focus" is written) image

To Reproduce Steps to reproduce the behavior:

  1. hover some keyword
  2. when the popup appears, click on it or select some text inside
  3. Try to press F2 to have the scroll
  4. See that nothing happens

Expected behavior F2 focuses the popup window and we can scroll in the documentation, or alternatively the text could be "click to focus"

Additional context I guess the problem is that I'm clicking on the popup so the F2 event is not caught by the editor but by the popup.