Libreoffice and flickering colours in plasma5

I got a strange problem some time ago (several weeks already) and cannot fix it. In Libreoffice all colours are flickering when moving mouse over components (menu, icons…). It changes radically - like black to white and vice versa - making whole office toolset unusable. I’ve tried changing theme etc. but no solution yet. When I used different windowing system (Enlightment) then there were no issues with flickering colours. The flickering seems also be related to kinda double buffering i.e. when I go to Tools/options I can see something partially. And when selecting option from the left hand side the right hand side gets updated but the previous content is not erased. If I go to next option then something gets erased from right hand side but it’s starts to be a mess. Checkbox icons are not visible etc.

Compositor enabling/disabling doesn’t seem to have any impact.

Someone had issues with poor quality icons but this problem I don’t have. Icons seem to be hire res.

I’ve seen a very similar thing. If you’re able to, try:

Tools -> Options -> Libreoffice -> View

disable “Use OpenGL for all rendering”

If you’re unable to make the change because of the flickering, then with LO closed temporarily rename “registrymodifications.xcu” (it’s below ~/.config/libreoffice/[version]/user). That will result of course in default settings once again, so any changes you made will need to be repeated.

I’m no longer able to login to Plasma 5 with my account. It simple loads indefinitely after login screen. Tried removing ~/.kde4, ~/.config, temp files under /var, ~/.local but none helped. According to x-session log even X fails to start for some reason. So something is wrong with my account but don’t know what.

I tested Libreoffice using different account and there is no flickering issue. So, trying to figure out now how to fix the account problem. Maybe I have to re-create it…

What Video card? if NVIDIA did you make some sort of custom config using nvidia-settings??? If so you may have created a config file in your home. Think it is in ~/.nv But that is all guessing

It’s integrated Intel something. No special settings.

I recreated the account and tried to log in but no. Did not work. .xsession-errors-:0 gives following output to my account with Plasma 5:

startkde: Starting up...
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/lib64/qt5/plugins/kf5/kded/soliduiserver.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/lib64/qt5/plugins/kf5/kded/networkwatcher.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/lib64/qt5/plugins/kf5/kded/kscreen.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/lib64/qt5/plugins/kf5/kded/device_automounter.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/lib64/qt5/plugins/kf5/kded/recentdocumentsnotifier.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/lib64/qt5/plugins/kf5/kded/ksysguard.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/lib64/qt5/plugins/kf5/kded/networkmanagement.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/lib64/qt5/plugins/kf5/kded/remotenotifier.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/lib64/qt5/plugins/kf5/kded/proxyscout.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/lib64/qt5/plugins/kf5/kded/keyboard.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/lib64/qt5/plugins/kf5/kded/statusnotifierwatcher.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/lib64/qt5/plugins/kf5/kded/solidautoeject.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/lib64/qt5/plugins/kf5/kded/filenamesearchmodule.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/lib64/qt5/plugins/kf5/kded/appmenu.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/lib64/qt5/plugins/kf5/kded/khotkeys.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/lib64/qt5/plugins/kf5/kded/ktimezoned.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/lib64/qt5/plugins/kf5/kded/bluedevil.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/lib64/qt5/plugins/kf5/kded/baloosearchmodule.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/lib64/qt5/plugins/kf5/kded/freespacenotifier.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/lib64/qt5/plugins/kf5/kded/desktopnotifier.so"
kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/lib64/qt5/plugins/kf5/kded/networkstatus.so"
The desktop entry file  "/usr/share/applications/Home.desktop"  has Type= "Link"  instead of "Application" or "Service"
kf5.kservice.sycoca: Invalid Service :  "/usr/share/applications/Home.desktop"
Initializing  "kcm_input" :  "kcminit_mouse"
Initializing  "kcm_style" :  "kcminit_style"
Initializing  "kcm_access" :  "kcminit_access"
Initializing  "kded_touchpad" :  "kcminit_touchpad"
kcm_touchpad: Using X11 backend
Initializing  "kcm_kgamma" :  "kcminit_kgamma"
kf5.kcoreaddons.kaboutdata: Could not initialize the equivalent properties of Q*Application: no instance (yet) existing.
Qt: Session management error: networkIdsList argument is NULL
Configuring Lock Action
detected kglobalaccel restarting, re-registering all shortcut keys
ksmserver: "/run/user/1000/KSMserver"
ksmserver: KSMServer: SetAProc_loc: conn  0 , prot= local , file= @/tmp/.ICE-unix/20648
ksmserver: KSMServer: SetAProc_loc: conn  1 , prot= unix , file= /tmp/.ICE-unix/20648
ksmserver: KSMServer::restoreSession  "saved at previous logout"
kscreen.kded: Config KScreen::Config(0x55a6d301f950) is ready
kscreen.kded: PowerDevil SuspendSession action not available!
kscreen.kded: "The name org.kde.Solid.PowerManagement was not provided by any .service files"
kscreen.kded: Applying config
kscreen.kded: Applying ideal config
kscreen.kded: "DP1"  Disabled
kscreen.kded: "DP2"  Disabled
kscreen.kded: "DP3"  Disabled
kscreen.kded: "HDMI2"  Disabled
kscreen.kded: "HDMI3"  Disabled
kscreen.kded: "VGA1"  Disabled
kscreen.kded: "VIRTUAL1"  Disabled
kscreen.kded: Connected outputs:  1
kscreen.kded: doApplyConfig()
kscreen.kded: Config applied
kscreen.kded: Monitor for changes:  true
kscreen: Requesting missing EDID for outputs (70)
kscreen.kded: Change detected
kscreen.kded: KScreen::Output( 70   "HDMI1" connected enabled QPoint(0,0) QSize(1920, 1200) "76" )
kscreen.kded: Saving current config to file
kscreen.kded: Config saved on:  "/home/****/.local/share/kscreen/af6c9178fb2cf55b5a75f481a82269b0"
kscreen.kded: KScreen::Output( 70   "HDMI1" connected enabled QPoint(0,0) QSize(1920, 1200) "76" )
kscreen: Requesting missing EDID for outputs (70)
kscreen.kded: Change detected
kscreen.kded: KScreen::Output( 70   "HDMI1" connected enabled QPoint(0,0) QSize(1920, 1200) "76" )
kscreen.kded: Saving current config to file
kscreen.kded: Config saved on:  "/home/****/.local/share/kscreen/af6c9178fb2cf55b5a75f481a82269b0"
kscreen.kded: KScreen::Output( 70   "HDMI1" connected enabled QPoint(0,0) QSize(1920, 1200) "76" )
The X11 connection broke (error 1). Did the X11 server die?
kdeinit5: Fatal IO error: client killed
kdeinit5: sending SIGHUP to children.
klauncher: Exiting on signal 1
The X11 connection broke (error 1). Did the X11 server die?
kdeinit5: sending SIGTERM to children.
kdeinit5: Exit.
Qt: Session management error: IO error occured opening connection
Unexpected response from KInit (response = 0).
QProcess: Destroyed while process ("kwin_x11") is still running.
startkde: Could not start ksmserver. Check your installation.
Error: Can't open display: :0
startkde: Shutting down...
kdeinit5_wrapper: Warning: connect(/run/user/1000/kdeinit5__0) failed: : No such file or directory
Error: Can not contact kdeinit5!
xprop:  unable to open display ':0'
xprop:  unable to open display ':0'
startkde: Done.
"Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken."

Howcome Plasma 5 works with other accounts but not with my main account?

Starts to be outside application issue also…

Any idea why I cannot log in to Plasma 5 with my main account (even after re-creation of it) anymore? Works with other accounts. Something is corrupt/broken by what…

If others work then problem is in your home. Have you removed all in ~/.cache. Also check ownership of files they should all belong to your user ID (UID) normally 1000 but that can depend on the history of the home.

Like I wrote. I re-created the account so home was empty until folders and files were created by KDE. That’s why this is so strange. Apparently there is something still somewhere that prevents Plasma and/or X to start properly with main account. Account is related to system administrator as well (system emails come to that account) but that’s quite far fetched.

There is no such thing as “main account” All accounts are more or less equal. The only magic user is root.

So you now have a empty /home/somename account that should match your first user which is normally UID 1000? So that directory must be owned by UID 1000 and the name must match the name of the account with UID 1000. And caps matter.

there are known issues with plasma 5 and intel graphics including libreoffice UI
some of those issues are supposedly fixed but if you are having display issues on an intel graphic chip try using uxa acceleration
create the file

/etc/X11/xorg.conf.d/20-intel.conf

and paste this in it

    Section "Device"
        Identifier  "Intel Graphics"
        Driver      "intel"
        Option      "AccelMethod"  "uxa"
    EndSection

It’s an old bug but I’m not sure who’s working on it as it’s not a kde bug and I’ve read it’s fixed but I’ve also seen a lot of comments that it’s still there
https://mail.kde.org/pipermail/kde-distro-packagers/2015-August/000088.html

Yes, there are no “main accounts” but with the lack of a better word I used that one for the account I’ve been using all the time - and still using but not being able to use Plasma 5 but Enlightenment.

Correct, “somename” is referring to UID 1000 and is owned by it. I’ve replaced new home with old home to get old things working as they used to because “blank” new home didn’t sort out the Plasma 5 starting up issue. Make no mistake, I tried to log in with “blank” new account before replacing it with the old stuff.

So, somewhere there is still references to /home/“somename” which prevents X and/or plasma to start up.

Thx for the tip. I’ll try this one if I still have the issue once I’m able to start using Plasma 5 again. The issue is not happening with other accounts but one so it’s most likely related to some configuration issue of that account.

You have to look at the ownership the somename home must have the correct permission for the somename user. If all the I’s are doted and T’s crossed the defaults will be set when somename logs in.

Yep, these are in order. Account was removed using Yast’s User and Group Management tool. And same tool was used to create the same account. Before removal I changed home folder name to prevent it to get deleted. Then I had to create original home folder (empty) so that Yast tool could manage to delete it. Then created the account, logged off from the account using to create the other account and tried to log in. No success as can be seen from the x-sessions-error log. I doubt Yast tool makes incorrect settings because I used the same tool to create other accounts.

After login failed, I removed the newly created home account and changed the old one back to continue (with Enlightenment though).

So, I’m sure that the problem is not related to /home/someone but somewhere else. Just cannot figure out where and why.

Is it possible to reinstall Plasma 5 with zypper or is it too much tied to applications that it’ll be impossible?

**

yes it is a simple

zypper in plasma5-session

should install plasma 5 and pull dependencies but that will also pull a some default plasma 5 apps, if you don’t want any you can lock/taboo them
you should start a new thread about your plasma 5 issue