Bug 492002 - Language config dialog still need confirmation between application sessions.
Summary: Language config dialog still need confirmation between application sessions.
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kxmlgui
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 6.2.0
Platform: Microsoft Windows Microsoft Windows
: NOR minor
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-21 19:57 UTC by Jérôme DEMEULLE
Modified: 2024-12-15 17:39 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jérôme DEMEULLE 2024-08-21 19:57:29 UTC
SUMMARY (I don't know the component affected)
Change the language offers to not showing the information box to restart
The check box to not showing again the box is not kept

STEPS TO REPRODUCE
1. Change the primary langage to another than the one selected
2. In the information box about the restart to take effect, check the box "Do not show this message again"
3. Restart DK
4. Change again the primary langage to another than the one selected

OBSERVED RESULT
The information box about the restart come again

EXPECTED RESULT
It should not.

SOFTWARE/OS VERSIONS
Windows 10 Version 22H2 (x86_64)

ADDITIONAL INFORMATION
in 8.4.0 and 8.5.0 of the august 21th
Comment 1 caulier.gilles 2024-08-21 19:59:55 UTC
This dialog come from the KDE framework, not digiKam....

Gilles Caulier
Comment 2 Maik Qualmann 2024-08-21 20:27:49 UTC
At least it works under Linux, it is stored in this section in the digikamrc:

[Notification Messages]
ApplicationLanguageChangedWarning=false

I'll test it on Windows tomorrow.

Maik
Comment 3 Maik Qualmann 2024-08-22 08:56:31 UTC
It also works with the pre-release version of digiKam-8.5.0 without problems under Windows. The language information dialog is not displayed again.

Maik
Comment 4 caulier.gilles 2024-08-22 09:02:45 UTC
I tested also the 8.5.0 pre release under Win 10 here, and no problem with this dialog...

Gilles Caulier
Comment 5 Jérôme DEMEULLE 2024-08-22 10:25:48 UTC
I have tried to add manually the entry in the correct section [Notification Messages] of my %LocalAppData%\digikamrc but it's still ope the info box.
Too bad for me. I will have to keep this behavior
Comment 6 Maik Qualmann 2024-08-22 11:55:42 UTC
I tested it on another Windows 10 computer and had no problems disabling the dialog. This is a basic configuration function. Please check the permissions of your digikamrc carefully, it shouldn't be the case that it doesn't work for you.

Maik
Comment 7 Jérôme DEMEULLE 2024-08-22 15:23:39 UTC
Permissions look like ok, the file is correctly updated by other functionnallity. like confirmation in [General Settings]
Is there another entry in the same section I could test ?
Comment 8 Peter 2024-08-22 15:37:00 UTC
(In reply to Jérôme DEMEULLE from comment #7)
> Permissions look like ok, the file is correctly updated by other
> functionnallity. like confirmation in [General Settings]
> Is there another entry in the same section I could test ?

Tested in Windows 10.
"
3. Restart DK
4. Change again the primary langage to another than the one selected
The information box about the restart come again
"
I can reproduce this.
It seems to me that this dialog does not belong to digikam, but to KDE.
The window's caption is not included in the language file (digikam.po) either.
Comment 9 caulier.gilles 2024-08-22 15:42:36 UTC
Exactly, it come from the KDE framework KXmlGUI :

https://invent.kde.org/frameworks/kxmlgui/-/blob/master/src/kswitchlanguagedialog_p.cpp?ref_type=heads

It's a private dialog, not accessible from the client application...

Gilles Caulier
Comment 10 Jérôme DEMEULLE 2024-08-22 15:55:51 UTC
It will be very cool if you can escaladate to the right bug tracer, but it's not serious, it's only very minor, just a packaging problem and does not affect the product itself in any way.
Thank for yr efforts
Comment 11 Jérôme DEMEULLE 2024-08-27 18:38:46 UTC
I've found the file testing it on another windows PC.
%LocalAppData%\digikam\digikam.kmessagebox
with
[General]
ApplicationLanguageChangedWarning=4

I will test it as soon I  can.
Comment 12 Christoph Cullmann 2024-12-15 17:39:08 UTC
(In reply to caulier.gilles from comment #4)
> I tested also the 8.5.0 pre release under Win 10 here, and no problem with
> this dialog...
> 
> Gilles Caulier

Seems to be fixed for me.