You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS: Linux Mint Debian Edition 4
JuffEd version: v0.10 (installed from the package manager)
Qt version: 5.11.3
Under certain circumstances, I can reliably select text in JuffEd, press the shift or ctrl key, and delete the text as if I had pressed the backspace key. The circumstances seem to be that a text cursor is active in an a program other than JuffEd before I make my selection in JuffEd.
More precisely, the steps to reproduce are:
Open a text file in JuffEd
Write some sample text in JuffEd
Open another program such as a terminal emulator, web browser, etc.
Activate a textbox in the other program by clicking in it so that a text cursor appears in it
While that textbox is still active, select the sample text in JuffEd. (You may have to click on the JuffEd textbox first to make it possible to select text)
Press ctrl or shift
Observe the selected sample text being deleted as if backspace had been pressed
This does not happen in subsequent selections inside JuffEd. I would have to activate a textbox in another program and return to JuffEd to observe the buggy behaviour again.
The text was updated successfully, but these errors were encountered:
It also happens when pressing arrow keys in step 6.
I managed to fix the issue without any code changes to JuffEd, but not with a workflow that I would recommend to other people.
The version of the QScintilla library on my system was the latest available version 2.10.4+dfsg-2.1 from package libqscintilla2-qt5-13.
I built QScintilla from source to obtain libqscintilla2_qt5.so.15.1.1
The final step of the recommended build sequence from the QScintilla README.doc was make install, which I ran under sudo to put that binary into /usr/lib/x86_64-linux-gnu/libqscintilla2_qt5.so.15.1.1 (⚠️ circumventing the system's package management)
I renamed my existing /usr/lib/libqscintilla2_qt5.so.13.1.1 to /usr/lib/libqscintilla2_qt5.so.13.1.1.disabled, and same with the existing symlinks pointing to the former (⚠️ circumventing the system's package management)
I created a symlink /usr/lib/libqscintilla2_qt5.so to /usr/lib/x86_64-linux-gnu/libqscintilla2_qt5.so.15.1.1 (⚠️ circumventing the system's package management)
I built JuffEd from source following instructions for 'other distros', not instructions for Debian as there was an error message from dpkg-buildpackage and I didn't pursue that method beyond that. This put the JuffEd binary into /usr/bin/juffed (⚠️ circumventing the system's package management)
Regarding step 7: Instructions to build JuffEd for other distros were to run these starting from a freshly cloned repo's root folder:
$ mkdir build
$ cd build
$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=release
$ make
$ sudo make install
Possibly Linux Mint Debian Edition 5 has an updated version of QScintilla libraries that fixes this issue. I did not investigate that.
OS: Linux Mint Debian Edition 4
JuffEd version: v0.10 (installed from the package manager)
Qt version: 5.11.3
Under certain circumstances, I can reliably select text in JuffEd, press the shift or ctrl key, and delete the text as if I had pressed the backspace key. The circumstances seem to be that a text cursor is active in an a program other than JuffEd before I make my selection in JuffEd.
More precisely, the steps to reproduce are:
This does not happen in subsequent selections inside JuffEd. I would have to activate a textbox in another program and return to JuffEd to observe the buggy behaviour again.
The text was updated successfully, but these errors were encountered: