This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Dolphin loses UI settings

Tags: None
(comma "," separated)
Horus
Registered Member
Posts
296
Karma
0
OS

Dolphin loses UI settings

Sun Jun 24, 2018 11:09 am
Hello,

whenever I launch dolphin 18.04.2, it loses some UI settings. It is especially weird, because when I start dolphin from scratch, i.e. `rm .config/dolphinrc && rm -rf .local/share/dolphin && dolphin`, it looks fine, e.g. http://xgm.de/upload/Dolphin_1.png.

Then i change nothing, just quit and start it again, it looks like http://xgm.de/upload/Dolphin_2.png.

Now I activate menu bar (Ctrl-M), sidebar (F9) and toolbar (using mouse), change view mode to detailed, and change the icon size. When I quit and restart dolphin, all these settings, except view mode and icon size are lost.

dolphinrc is also void of any of these settings.

This problem may be connected, that I do not run KDE desktop environment, but i3, which has produced problems (especially GUI related, such as missig icons) with various KDE applications in the past.

I have set

export QT_QPA_PLATFORMTHEME="qt5ct"
export QT_PLUGIN_PATH=$HOME/.kde4/lib/kde4/plugins/:/usr/lib/kde4/plugins/

Best Thanks!
airdrik
Registered Member
Posts
1854
Karma
5
OS

Re: Dolphin loses UI settings

Tue Jun 26, 2018 8:25 pm
Before removing the dolphin settings, you might double-check that there isn't a stray dolphin window/process running somewhere which could be retaining and later saving the old settings.


airdrik, proud to be a member of KDE forums since 2008-Dec.
Horus
Registered Member
Posts
296
Karma
0
OS

Re: Dolphin loses UI settings

Wed Jun 27, 2018 6:59 am
That was not the problem.

I have taken this question to a kde mailinglist and found help there.

KDE_FULL_SESSION=1 and KDE_SESSION_VERSION=5 also need to be set. I will try to document that somewhere for other KDE on non-Plasma users. What do you think is the right place for that?
airdrik
Registered Member
Posts
1854
Karma
5
OS

Re: Dolphin loses UI settings

Thu Jun 28, 2018 6:24 pm
I'm not sure where exactly, but you might look for an appropriate place in the KDE Userbase wiki or the Arch Linux wiki (which is often applicable to linux in general)


airdrik, proud to be a member of KDE forums since 2008-Dec.
ConnerP
Registered Member
Posts
2
Karma
0

Re: Dolphin loses UI settings

Sun Jul 01, 2018 11:39 am
Hello, I have run into this same issue using and up to date Arch Linux system running i3wm. I have the following code in my .xinitrc. I added the SESSION lines based on information found here and copied from the startkde source. Any further advice on what to check or try?

Code: Select all
export QT_QPA_PLATFORMTHEME=qt5ct
KDE_FULL_SESSION=true
export KDE_FULL_SESSION
xprop -root -f KDE_FULL_SESSION 8t -set KDE_FULL_SESSION true

KDE_SESSION_VERSION=5
export KDE_SESSION_VERSION
xprop -root -f KDE_SESSION_VERSION 32c -set KDE_SESSION_VERSION 5

KDE_SESSION_UID=`id -ru`
export KDE_SESSION_UID
Horus
Registered Member
Posts
296
Karma
0
OS

Re: Dolphin loses UI settings

Sun Jul 01, 2018 12:02 pm
I have this in my ~/.xprofile

if [ "$XDG_CURRENT_DESKTOP" = "i3" ] || [ "$XDG_CURRENT_DESKTOP" = "" ]; then
# export QT_QPA_PLATFORMTHEME="kde"

export QT_QPA_PLATFORMTHEME="kde"
export QT_PLUGIN_PATH=$HOME/.kde4/lib/kde4/plugins/:/usr/lib/kde4/plugins/
export KDE_FULL_SESSION=1
export KDE_SESSION_VERSION=5
fi


Icons work, Dolphin saves setting.

There is one problem, I am currently aware off. Some system tray icons do not show up, most notably kmail and Nextcloud. Other apps, like Dropbox, udiskie, Redshift-GTK are working. So I guess there is some KDE way of using the systray, kmail and nextcloud try to use that and it does not work with the standard way i3 is using.
airdrik
Registered Member
Posts
1854
Karma
5
OS

Re: Dolphin loses UI settings

Tue Jul 03, 2018 6:25 pm
I know there are a couple of different standards or libraries used for system tray icons - one older and (mostly?) deprecated (xembed, I believe) and one (or more?) newer (status indicator, or something like that).
i3 may be supporting the older one and not the newer one, or something along those lines.

You might dig into the i3 docs some more to see what it does and does not support and/or contact them to see what needs to be done.


airdrik, proud to be a member of KDE forums since 2008-Dec.
Horus
Registered Member
Posts
296
Karma
0
OS

Re: Dolphin loses UI settings

Thu Jul 05, 2018 6:49 am
Hi,

a response from the kde mailinglist about the systray issue.

Yeah, this can be a side-effect: KDE desktops use a slightly different method for the systray, one that uses dbusmenu-qt. If memory serves me well this is done by the plasma-integration plugin.

2 solutions:
- find a plugin/extension for your desktop that supports this method; I know one exists for the XFCE-panel for instance
- uninstall or otherwise disable the plasma-integration plugin ($prefix/share/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme.so).


The second options works, but I loose fancy KDE file open dialogues.
ConnerP
Registered Member
Posts
2
Karma
0

Re: Dolphin loses UI settings

Fri Jul 06, 2018 6:02 am
Okay changing

Code: Select all
export QT_QPA_PLATFORMTHEME="qt5ct"


to

Code: Select all
export QT_QPA_PLATFORMTHEME="kde"


Has the settings persisting, but then I lose my theme.

I can recover it by starting dolphin as

Code: Select all
dolphin --platformtheme qt5ct   


It is a solution, just not a very clean one. Might anyone have an idea why qt5ct seems to no longer works for the environmental variable?
airdrik
Registered Member
Posts
1854
Karma
5
OS

Re: Dolphin loses UI settings

Mon Jul 09, 2018 6:43 pm
Probably because qt5ct is a 3rd party app for managing the QT 5 theme when in environments which don't provide their own app/module for that (primarily KDE). Setting the env variable to that probably indicates to the kde apps that they aren't running in a KDE/plasma session and shouldn't save settings? Or it could just be a matter of the different platform themes saving the settings to different places (and qt5ct only supporting qt-specific settings).

btw, when using export QT_QPA_PLATFORMTHEME="kde", you'll probably need to use (kde) System Settings to change the application theme instead of the qt5ct app (then you shouldn't need to use the --platformtheme qt5ct param when invoking dolphin).


airdrik, proud to be a member of KDE forums since 2008-Dec.


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], Sogou [Bot]