Using lokalize and pressing F7 (TM) and pressing Scan all files in the project.
This finally gives a notification with an Open button. Pressing that button gives an Error popup showing the non-existance of /usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/kde4-nl See attached picture.
Reproducible: Didn't try
Created attachment 90169 [details]
Screendump from popup
I assume that's running on kde4?
It is a mix of KDE4 and Framework 5 on openSUSE Tumbleweed.
Ok; is that running on Plasma5? Is Lokalize frameworks based or kdelibs/qt4 based? I just need to know the combination of KNotification and Plasma used in this case.
Finally, do you know if that notification is spawned directly by Lokalize or by some other library/process?
I just installed plasma 5 modules in openSUSE Tumbleweed which are part of the general repository of this version of the distribution. They coexist with the old platform. When making a list of packages with kf5 in it, which are installed, it amounts to quite a number. I guess it is about 40-50. I notice that notification in this system is quite different from the one in openSUSE 13.2 in which I only use KDE 4.14.3. So I assume this notification comes from Plasma 5. I do not have the impression that lokalize itself is based on Plasma 5. So I assume the notification from lokalize uses the standard communication between the notification widget in the system tray and lokalize.
Please give some hints about how to provide the needed information.
With lsof I looked at files used by lokalize. None of these had kf5 in its name.
The message shown by the Notifications widget, after the scanning is done without an error, contains an Open button (see attachment), however this button is not present when using only KDE 4.14.3. Pressing that button activates the command:
/bin/sh /usr/bin/xdg-open file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/kde4-nl , which in turn activates the command:
I can't think of anything that needs to be opened when lokalize finishes the scanning.
Created attachment 90182 [details]
screendump of notification message with Open button
Ok so this looks like a bug in Plasma 5 notifications, not the framework.
Can you please translate what the notification says? I suspect that lokalize starts some KJob after pressing F7; Plasma 5 adds the "Open" button automatically when the job finishes and when there is something to open. We may have have a bug in there.
Which Plasma 5 version is that?
The notification in English should be:
Files added to Translation Memory......
It is strange that I can't find this string in any .po file.
The only string that comes close is:
Adding files to Lokalize translation memory
which is translated as:
Bestanden aan vertaalgeheugen van Lokalize toevoegen
(In reply to Martin Klapetek from comment #8)
> Which Plasma 5 version is that?
I see package:
same version plasma-workspace
I guess, I think this is something like bug in Lokalize that it is not passing correct url for open action.
I don't think there should be any open action, in fact, I'm not sure that this job should be in the job tracker at all.
I think this should be fixed with the new notification system as it has a batter URL identification heuristic. Feel free to re-open if this issue persists in Plasma 5.16