Bug 33194 - "Date and time" config window can not be closed with "OK" or "Cancel" in LXQt
Summary: "Date and time" config window can not be closed with "OK" or "Cancel" in LXQt
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: papoteur
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-13 08:58 CEST by papoteur
Modified: 2024-05-22 21:43 CEST (History)
2 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description papoteur 2024-05-13 08:58:18 CEST
Expected Behavior

The window closes
Current Behavior

I can only close the window with the X at top right.
Steps to Reproduce (for bugs)

Launch config-lxqt, open "Date and time" (Date et heure in French)
Click on "OK button or "Annuler" (Cancel) button, there is no action.

I did not identify which LXQt 2.0.0 component provides this window.
Comment 1 papoteur 2024-05-13 08:59:20 CEST
Upstream says that this is not reproducible.
https://github.com/lxqt/lxqt/issues/2576
Comment 2 papoteur 2024-05-13 22:34:03 CEST
I found that it is lxqt-admin-time command:
lxqt-admin-time 
qt.core.qobject.connect: QObject::connect: signal not found in TimeAdminDialog
qt.core.qobject.connect: QObject::connect: signal not found in TimeAdminDialog
qt.core.qobject.connect: QObject::connect: signal not found in TimeAdminDialog

These errors reported are possible in link with the bad behavior.
Possibly this report can give an explanation:
https://bugreports.qt.io/browse/QTBUG-115731
@wally what do you think?

CC: (none) => geiger.david68210, jani.valimaa

Comment 3 Lewis Smith 2024-05-16 21:40:25 CEST
That link looks just the same issue.
"it only occurs if the following is set:
 set (CMAKE_INTERPROCEDURAL_OPTIMIZATION True)
This enables link time optimization in the compiler if it is supported.
If I remove this, signals work properly."

Do we know if this variable is set?
Comment 4 papoteur 2024-05-18 13:26:25 CEST
Guygoye found that pcmanfm-qt has the same problem.
In journal, I get a lot of:
pcmanfm-qt[2475]: qt.core.qobject.connect: QObject::connect: signal not found in Fm::Folder
Comment 5 papoteur 2024-05-20 19:46:00 CEST
I have rebuilt pcmanfm-qt, lxqt-admin and libfm-qt.
I would like a confirmation that this is now OK.
Comment 6 Lewis Smith 2024-05-22 21:11:21 CEST
Yves, you have been handling this - and thak you for all your work; so may as well assign it to you. No point in leaving it with Bugsquad.

My comment 3 remains unanswered; perhaps it was irrelevant.

Assignee: bugsquad => yvesbrungard

Comment 7 papoteur 2024-05-22 21:43:54 CEST
(In reply to Lewis Smith from comment #6)
> My comment 3 remains unanswered; perhaps it was irrelevant.
I presume that compilation options have been changed between first and second builds. I don't think that we have to try to apply the parameter you cited.
Now lxqt-admin is OK, confirmed by Guygoye.
He caught another problem that in pcmanfm-qt, computer:/// links triggers an error (Operation not permitted).

Note You need to log in before you can comment on or make changes to this bug.