Hi, I'm using chessx in Kubuntu 20.4. The opening dialog, like the save window, does not display any files or directories. ChessX version 1.4.6.0 UNIX GNU Qt5.12.5
If I' want open a pgn file, the dialog windows is empty. It happens on my 2 computers with Kubuntu 20.4. and 1 Kubuntu 2.10. Same with the save dialog window. On another computer running Debian Buster, everything works great. ( ChessX version 1.4.6.0 UNIX GNU Qt5.11.1)
Linux and Windows occasionally have issues displaying native file dialogs. There is a workaround which helps in case you compile ChessX yourself: Add the flag
QFileDialog::DontUseNativeDialogto all calls of open / save file dialogs.
Same issue here with 20.04 and 1.5.7beta
and file dialog is quite slow to open
Last edit: Rusen Dusen 2021-03-22
Hi,
I cannot reproduce this issue:
@decenk,
I would suggest to recompile with a newest version to test again:
I am using:
ChessX : Version 1.5.7 from Git:
Commit: 7175f4c
Gnome: 3.34.7
Note: The issue indicated by @hognose above(
DontUseNativeDialog) is a problem for Gnome to display Qt File Open Dialogs, but it should not affect KDE Plasma. However, I am using gnome and it works fine.Compiled against: Qt5.12.7
Note: The current git version 1.5.7 requires Qt>5.14.1, or some source code editions are required for succesfully compile. Please compile with Qt>5.14.1
Last edit: IAHM-COL 2021-08-08
It only happens in the Plasma environment. If I use in Kubuntu e.g. XFCE or MATE chessx works well.
@decenk,
This is interesting. I don't have a KDE plasma on hand, only Gnome and Xfce. For me, it works O.K. on Gnome 3.x
You indicated above:
I am curious, did you attempt to reproduce this issue with a newer version?
ie, ChessX version 1.5.6 (current release available).
If it stills happens in 1.5.6, we can try testing if
DontUseNativeDialogchanges the behavior, as @hognose proposed above.Ubuntu 20.04.2 LTS
QMake version 3.1
qmake -recursive
Project ERROR: Unknown module(s) in QT: svg multimedia
What is missing?
IAHM-COL píše v Ne 08. 08. 2021 v 12:27 +0000:
Related
Bugs: #286
@decenk,
For your output,
You need svg and multimedia Qt5 modules to compile it;
Try installing both
libqt5svg-devandqtmultimedia5-devbefore attempting qmake again,ie
Thanks,
the compilation went well after installing the libraries, but the error persists.
@decenk,
It is worth trying the
DontUseNativeDialogmode to see if that changes anything for your setup.To do that,
(Link removed) ** Patch added below **
Last edit: IAHM-COL 2021-08-09
The compilation fails with error 1:
src/database/filtermodel.cpp: In static member function ‘static
QStringList FilterModel::additionalTags()’:
src/database/filtermodel.cpp:106:64: error: ‘SkipEmptyParts’ is not a
member of ‘Qt’
106 | QStringList tags = addTags.split(QRegExp("[^a-zA-Z]"),
Qt::SkipEmptyParts);
|
^~~~~~~~~~~~~~
make: *** [Makefile:3374: obj_rel/filtermodel.o] Chyba 1
Related
Bugs: #286
Hi @decenk,
Yes. I know that problem. Its just the new code needs a higher Qt version that what your distro brings you.
The easiest way to compile is using some few changes:
(Link removed)Patch added below
Then you can try compiling again
Last edit: IAHM-COL 2021-08-09
Hi,
the last source code compiled well and the bug in the program is no
longer reflected. Thanks for the great application and respect for your
work.
Regards František Bublík
IAHM-COL píše v Ne 08. 08. 2021 v 21:25 +0000:
Related
Bugs: #286
@decenk,
I am glad it works.
@hognose
This suggestion you proposed worked for Frantisek (see above)
However,
I am not completely sure what route you'd like to take with this issue
As it is not a direct bug for ChessX.
This makes sense given that the No-Native QFileDialogs are not nicely integrated with each user's DE experience, and thus it looks less polished.
This makes sense given that the No-Native QFileDialogs offers correct performance in all devices and DE configurations.
In case you want to change the code
Find a patch attached,
Regards,
@iahm-col
Last edit: IAHM-COL 2021-08-09