Small bug in Open Example/Template dialog

Dan d3vf4n at tutanota.com
Sun Sep 3 11:21:44 UTC 2023


Good morning you all,

PROBLEM
I have found a small bug in the UI: the dialog box for opening examples or new files from templates.
It is not a serious bug, but it feels counter-intuitive. Also it does not seem to actually carry out any operation (nothing is output to the terminal).

STEPS TO REPRODUCE
 1. Run LyX.
 2. Do File > Open Example...
 3. Click on a file (make sure the "Open" turns clickable), then click "Cancel".
 4. Do File > Open Example...
 5. Notice two things: the "Open" button and the list of available languages are now clickable.

The very same happens with the function File > New from Template.

EXPECTED BEHAVIOUR
In step 5 of the previous enumeration, neither the "Open" button nor the dropdown list should be clickable, as no file has been selected yet.


SYSTEM AND LyX INFO
OS: Linux Mint 21.2 with Cinnamon.


LyX 2.4.0~RC1.devel (not released yet)


 Git commit hash bdec4fab


Configuration


 Host type:               x86_64-pc-linux-gnu


 Special build flags:      build=development warnings assertions stdlib-assertions callback-printing use-enchant


 Bundled libraries:        nod


 C++ Compiler:            g++ (11.4.0)


 C++ Compiler flags:       -Wall -Wextra -fPIC -g -O -std=c++17  -Wno-deprecated-copy


 C++ Compiler user flags:


 Linker flags:             -rdynamic


 Linker user flags:


 Qt Frontend:


  Qt version:	   5.15.3


 Packaging:               posix




Daniel.
--
Enviat amb Tutanota.


More information about the lyx-devel mailing list