Bug 444770 - Tooltip mentions a button to install missing translations that does not exist
Summary: Tooltip mentions a button to install missing translations that does not exist
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_regionandlang (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Eike Hein
URL:
Keywords:
: 444780 450274 454936 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-11-01 11:31 UTC by Patrick Silva
Modified: 2024-04-04 16:33 UTC (History)
9 users (show)

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


Attachments
screen recording (1.03 MB, video/x-matroska)
2021-11-01 11:32 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2021-11-01 11:31:23 UTC
SUMMARY
Please watch the attached screen recording.
Plasma language is set to portuguese, but my system is half portuguese, half english. In Language KCM, an orange triangle displays a tooltip on mouseover saying to click on a button to install missing translations, but it does not exist. I add another language and it has said button, but the initial language does not. Then I move the second language to top and now both languages have the button to install missing translations, despite nothing happens when I click on them (see bug 437416).

STEPS TO REPRODUCE
1. have an incomplete language in Language KCM
2. hover over the orange triangle beside language name
3. 

OBSERVED RESULT
tooltip mentions a button that does not exist

EXPECTED RESULT
incomplete languages should always have a button to install missing translations

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.3
Graphics Platform: Wayland
Comment 1 Patrick Silva 2021-11-01 11:32:27 UTC
Created attachment 143093 [details]
screen recording
Comment 2 Patrick Silva 2021-11-01 20:35:00 UTC
*** Bug 444780 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2021-11-01 21:51:42 UTC
Hmm, that doesn't seem possible, yet is is.

The warning icon appears when `visible: model.IsIncomplete` is true, but the "Install missing packages" button also has the same condition for visibility. I don't understand how it could be that one is shown but not the other.
Comment 4 Paul Worrall 2021-11-19 09:36:38 UTC
If I add a second language (e.g. American English), both the warning icon and download button are shown on that.
If I then promote that to top of the list, the download button appears on the original language where it was previously missing.

Clicking on the button does nothing but I guess that's a separate issue.....
Comment 5 Nate Graham 2022-02-15 04:23:39 UTC
*** Bug 450274 has been marked as a duplicate of this bug. ***
Comment 6 Patrick Silva 2022-06-07 02:04:52 UTC
*** Bug 454936 has been marked as a duplicate of this bug. ***
Comment 7 david 2024-04-04 16:33:17 UTC
I'm seeing the same thing with Plasma 5.24.7.

I added a 2nd language and the button appeared for the new language.

If I move the 2nd language up to be primary, the button appears for both languages.

However, if I click the download button, I see this message in the console:
org.kde.kcm_translations: Not all missing packages managed to resolve! ("hyphen-en-us", "libreoffice-help-en-us", "mythes-en-us") ("hyphen-en-us;2.8.8-7build2;all;ubuntu-jammy-main", "libreoffice-help-en-us;1:7.3.7-0ubuntu0.22.04.4;all;ubuntu-jammy-updates-main", "libreoffice-help-en-us;1:7.3.2-0ubuntu2;all;ubuntu-jammy-main", "mythes-en-us;1:7.2.0-2;all;ubuntu-jammy-main")