FS#43558 - [konsole] 14.12.1-1: Missing localization after upgrade

Attached to Project: Arch Linux
Opened by Martin Schnitkemper (Martin-MS) - Saturday, 24 January 2015, 17:56 GMT
Last edited by Andrea Scarpino (BaSh) - Sunday, 25 January 2015, 12:22 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andrea Scarpino (BaSh)
Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description: Missing localization after upgrade to v14.12.1-1.

Additional info: After upgrade I miss the (in this case german) localization. I can also not switch the application language; "German" is not offered, only "American English" as the primary language. /usr/share/locale/de/LC_MESSAGES/konsole.mo is present.

* package version(s) 14.12.1-1

Steps to reproduce: Upgrade to latest version
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Sunday, 25 January 2015, 12:22 GMT
Reason for closing:  Fixed
Additional comments about closing:  konsolepart4 4.14.3-5
Comment by Antonio Rojas (arojas) - Saturday, 24 January 2015, 19:09 GMT
Can you make sure that you're actually running konsole 3.0.1? (go to Help -> about konsole). There have been reports of users in the forums that were still using the KDE4 version after update because it was loaded in memory.
Comment by Martin Schnitkemper (Martin-MS) - Saturday, 24 January 2015, 19:33 GMT
No, I am still on 2.14.2 ... even after a reboot, so it could not been in the memory anymore. Window decoration is also still on Qt4 and not the new Qt5 style.

"konsole --version" reported

| old config "/home/martin/.kde4/share/config/konsolerc" was migrated to "/home/martin/.config/konsolerc"
| Qt: 5.4.0
| KDE Development Platform: TODO
| Konsole: 3.0.1

After migration and issue of another "konsole"-command from the current console it started a "konsole"-task version 3.0.1 with Qt5-style and localization.

Unfortunately after closing all tasks and starting another session of "konsole" I was again on version 2.14.2.

Any suggestion for a solution would be welcome.
Comment by Antonio Rojas (arojas) - Saturday, 24 January 2015, 19:46 GMT
Ah, it looks like the KDE4 konsole can still be run from the konsolepart4 package with "kdeinit4 /usr/lib/libkdeinit4_konsole.so". How did you launch konsole when you got the 2.14.2 version?

Andrea, Felix: /usr/lib/libkdeinit4_konsole.so should be removed from konsolepart4 to avoid this issue. Yakuake and the dolphin terminal work correctly without it.
Comment by Martin Schnitkemper (Martin-MS) - Saturday, 24 January 2015, 21:01 GMT
Thank you for your response. I launch the konsole using the menu item of the kde-menu.

If I delete /usr/lib/libkdeinit4_konsole.so and launch the konsole again, I get version 3.0.1. But then I lost all the profiles I created under the previous version. And the widget in the panel still shows the old profiles, any new profile I add again in version 3.0.1 on konsole is not visible in the panel widget.

If I add a profile with an existing name of those the widget knows, then a konsole session with the right profile will be launched, all other entries will end in a standard konsole. Seems that the application and widget don't know each other ;)
Comment by Antonio Rojas (arojas) - Saturday, 24 January 2015, 21:30 GMT
Yes, that's a different issue, profiles from KDE4 konsole are not migrated to the KF5 version. You can copy them manually from ~/.kde4/share/apps/konsole to ~/.local/share/konsole/ (or symlink if you want to keep them in sync with the KDE4 applet)
Comment by Martin Schnitkemper (Martin-MS) - Sunday, 25 January 2015, 09:24 GMT
Both solutions work for me: deleting /usr/lib/libkdeinit4_konsole.so brings up konsole-3.0.1 and setting a symlink from ~/.kde4/share/apps/konsole to ~/.local/share/konsole/ shows again all profiles in the widget.
Comment by Tomasz Przybył (FadeMind) - Sunday, 25 January 2015, 09:38 GMT
After creating symlink:
ln -s ~/.kde4/share/apps/konsole/ ~/.local/share/konsole/
and renaming instead removing (for safety):
sudo mv /usr/lib/libkdeinit4_konsole.so /usr/lib/libkdeinit4_konsole.so.old
konsole launched from /usr/share/applications/org.kde.konsole.desktop working good:
[tomasz@arch ~]$ konsole --version
Qt: 5.4.0
KDE Development Platform: TODO
Konsole: 3.0.1

Loading...