Bug 407351 - i18n ARGUMENT MISSING in task preview window
Summary: i18n ARGUMENT MISSING in task preview window
Status: RESOLVED FIXED
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: git (master)
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-08 22:05 UTC by Petros
Modified: 2019-05-24 15:58 UTC (History)
0 users

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


Attachments
initial issue (44.30 KB, image/png)
2019-05-09 01:07 UTC, Petros
Details
changed font (36.34 KB, image/png)
2019-05-09 01:10 UTC, Petros
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petros 2019-05-08 22:05:03 UTC
SUMMARY
On Tasks thumbnails, the 2nd text line (normally shows "On DESKTOP_NAME") says:

On %1(I18n ARGUMENT MISSING)

I was using kvantum for widget style and Materia Dark theming.
I changed to Breeze for widget style and Breeze Dark theming.
With this change I realized the issue was absent on standard Plasma panel/tasks plasmoid.
I had already tried another user account (dormant for testing), on which the issue existed for Latte tasks. Did not test this with Plasma default panel/tasks.

What I did to investigate:

    Deleted ~/.cache folder from TTY and logged in
    Updated to latest packages and rebooted
    Rebuilt latte-dock-git and relogin
    Checked with another (rarely used for troubleshooting) user. Here, after some trouble with latte-dock initial crash, the issue was absent. I checked that themes were Breeze default. Changed the theme and some settings to my "normal" account prefs. Then the issue appeared as well. Reverting the theming at the previous settings did not make the issue go away...
    Checked at KDE bugs with the text "i18n_argument_missing" and nothing similar found.
    Created topic at Manjaro Forum for more feedback (https://forum.manjaro.org/t/i18n-argument-missing-in-task-preview-window/86613)



STEPS TO REPRODUCE
1. Set Tasks to show thumbnails on hover
2. Hover over a running task
 

OBSERVED RESULT
2nd text line shows: "On %1(I18n ARGUMENT MISSING)"

EXPECTED RESULT

2nd text line shows: "On <Desktop Name>"

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro 

KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.57.0
Qt Version: 5.12.3

ADDITIONAL INFORMATION
Kernel: 5.0.13-1-MANJARO x86_64
WM: kwin_x11
compiler: gcc v: 8.3.0
Theme: Materia, Breeze (tested on both)
Comment 1 Petros 2019-05-09 01:07:39 UTC
Created attachment 119921 [details]
initial issue
Comment 2 Petros 2019-05-09 01:09:04 UTC
After more research (and guessing...) I find the issue might be related to fonts.
I was using a custom font (Lato), downloaded and manually installed via System Settings - Fonts.
Changing font to "Liberation Sans" (or other "known" font) changes the issue to something else, not sure it's fixed.
Now the "broken" line shows "O..." (capital O with 3 dots, like truncation). I can assume it's the 1st letter of the same text string (On <desktop name>).

As I said I am not sure this is related/fixing, until new feedback/replication.
Thanks.
Comment 3 Petros 2019-05-09 01:10:43 UTC
Created attachment 119922 [details]
changed font
Comment 4 Michail Vourlakos 2019-05-11 07:37:54 UTC
very strange situation, I thought it would be easily fixable but I must need to investigate the codepath followed in order to find out where it breaks..


it has also one more issue... 

A.
1. add a second instance of dolphin
2. assign the second dolphin ONLY to the second desktop
3. watch out the dolphin preview, it shows for both Dolphins both Desktops even though it should not

B. keeping compatibility with VDs before <= Plasma 5.14 it is going to be a challenge I dont think it wont add clutter and I dont think I will try very hard to succeed keeping compatibility with older plasma versions than 5.15 for this subtext
Comment 5 Michail Vourlakos 2019-05-24 15:58:48 UTC
Git commit 682e03943940861120b883460861a0740e13df5a by Michail Vourlakos.
Committed on 24/05/2019 at 15:57.
Pushed by mvourlakos into branch 'master'.

fix for VirtualDesktops array identifying

M  +1    -1    plasmoid/package/contents/ui/task/TaskItem.qml

https://commits.kde.org/latte-dock/682e03943940861120b883460861a0740e13df5a