sillsdev / ptx2pdf

XeTeX based macro package for typesetting USFM formatted (Paratext output) scripture files
23 stars 8 forks source link

2.6.1 First time I opened the Language choices option I only saw 3 choices #979

Open davidc86 opened 1 month ago

davidc86 commented 1 month ago

The "drop-down" menu option for the UI Language selector acted weird on first use. The first time I clicked on "Language (English)" button, the option menu only contained the 1st THREE language options. image

I had to use the keyboard down arrow key to get the list to scroll down to Indonesian (or any of the other languages below "English").

After changing to Indonesian (which restarted PTXprint and worked fine) and back to English (which restarted PTXprint and worked fine too), the menu has now populated itself and displays ALL available UI language options.

I had just updated to v2.6.1, so maybe the list needed to be forced to refresh?

This issue would be a problem for mouse users, as there is no way to scroll the truncated menu with the mouse. And there is no indication in the truncated option menu that there are more choices below "English".

markpenny commented 1 month ago

I confirm that I have also seen this bug from time to time (on Windows). But at this point I haven't found a predictable way of repeating it, let alone a way to solve it. But we'll keep an eye on it and keep looking for a solution.

mhosken commented 6 days ago

We could add some telemetry (debug logging) and then that can help in situe debugging.

mhosken commented 2 days ago

Please run debug if you encounter this and send in a ptxprint.log

davidc86 commented 21 hours ago

When it shows up, there is no time to "run debug". It just did it again in v2.6.8 (the first time I tried to open that menu), so I came here it try and figure out what you meant by "run debug" (which is still not clear), and when I switched back to PTXprint the dialog opened normally. So that is the span of a few seconds. Maybe it is only the very first time that menu is opened that the list is not fully populated? But the subsequent times it is?

Sorry I couldn't help. And sorry I don't know how to "run debug" on PTXprint.