rcaelers / workrave

Workrave is a program that assists in the recovery and prevention of Repetitive Strain Injury (RSI). The program frequently alerts you to take micro-pauses, rest breaks and restricts you to your daily limit.
https://www.workrave.org
GNU General Public License v3.0
1.61k stars 204 forks source link

Language list is displayed with empty space and looped #577

Open Korb opened 1 month ago

Korb commented 1 month ago

Describe the bug When I open the drop-down list of languages ​​supported by the application, I see a large empty space after the last item in the list. This space disappears if I use the up arrow key or the mouse wheel to go to the beginning of the list and then return to the end of the list.

To Reproduce Steps to reproduce the behavior:

  1. Set the application interface language to a language from the end of the language list.
  2. Open the drop-down list with the language list again.
  3. Make sure that there is an empty space after the last language in the list.

Expected behavior

  1. The drop-down list contains only clickable items of languages ​​supported by the application, and nothing more.
  2. If the first language is highlighted in the drop-down list, pressing the up arrow on the keyboard does nothing. If the last language is highlighted in the drop-down list, pressing the down arrow on the keyboard does nothing.

Screenshots Language list is displayed with empty space and looped

** Windows (please complete the following information in case you encountered the bug on Windows):