Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Strange behaviour in GTK aplications in plasma

  1. #1

    Default Strange behaviour in GTK aplications in plasma

    Hi.

    I'm using plasma 5.18, thunderbird 91.2.0, firefox 93.0

    Each time I boot my computer some things do not work with GTK applications, for example, when I click on a text box to introduce login+password saved password do not work, when I click on a menu, it does not unfold. It happens both thunderbird and firefox. Then I go to settings-GTK change font and I change the font (I have seen that change from deepin to high contrast or reverse always work) and It works fine .... until next reboot.

    Where can I search for the cause of the problem?

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,458

    Default Re: Strange behaviour in GTK aplications in plasma

    Quote Originally Posted by fperal View Post
    ... until next reboot.
    And not on logout - login?

    And do other users (best a fresh created user) have the same problem?
    Henk van Velden

  3. #3

    Default Re: Strange behaviour in GTK aplications in plasma

    Quote Originally Posted by hcvv View Post
    And not on logout - login?

    And do other users (best a fresh created user) have the same problem?
    I have been testing:

    I boot the computer, I login-> menus don't work. I change the font, menus work.
    I log-ou then log in again, menus continue working. I have tried it several times, still working.
    I create a new user, it works fine.
    I log out-log in with the new user, still work fine.
    I log-out log-in alternatively with both users, it works
    I reboot -> my normal user does not work (until font change), the new user works

    I have seen that on log-out + log-in the plasma desktop loads (for my normal user) way faster that when I do a reboot (even if I make the reboot and wait a long time, like 10 minutes) to log-in

  4. #4

    Default Re: Strange behaviour in GTK aplications in plasma

    I get almost always a error on login to plasma: "the process for the trash protocol died unexpectedly"... I think it is not related, but .... who knows.

    (But trash works fine)

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,458

    Default Re: Strange behaviour in GTK aplications in plasma

    Quote Originally Posted by fperal View Post
    I have seen that on log-out + log-in the plasma desktop loads (for my normal user) way faster that when I do a reboot (even if I make the reboot and wait a long time, like 10 minutes) to log-in
    I assume that can be explained by the fact that a lot of the read-only memory pages (the "code") of the KDE programs that are needed by your login are still cashed in memory when you logout/login. They are of course not at first login after a boot.

    You probably will see the same when you start e.g. Firefox first time after login, stop it, and start it again. Second time will be quicker.

    BTW, your list of tests seem to point to something in the configuration of the original user. When I read that list correct, the problem never happens with the new user.
    Henk van Velden

  6. #6

    Default Re: Strange behaviour in GTK aplications in plasma

    Quote Originally Posted by hcvv View Post
    BTW, your list of tests seem to point to something in the configuration of the original user. When I read that list correct, the problem never happens with the new user.
    The plasma config files are ~/.confi/plasma* ?

    Which one is more likely to be the source of the problem, plasmarc?

  7. #7
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    2,031

    Default Re: Strange behaviour in GTK aplications in plasma

    Quote Originally Posted by fperal View Post
    The plasma config files are ~/.confi/plasma* ?
    Not only those... There are configuration settings also in ~/.local

    Which one is more likely to be the source of the problem, plasmarc?
    Unlikely, I think there's something "seriously" amiss with your user profile...

    If you've not done too much customisation I'd tend to rename all configuration directories, they will be recreated with defaults on next login.

    Logout from KDE and switch to a virtual terminal (ctrl-alt-F2), login as your normal user. Then:

    First delete the cache:

    Code:
    rm -rf ~/.cache
    Then rename the the directories/files containing configuration files etc, and logout from VT2

    Code:
    mv ~/.config ~/dot-config
    Code:
    mv ~/.local ~/dot-local
    Code:
    mv ~/.gtkrc-2.0 ~/dot-gtkrc-2.0
    Code:
    exit
    Switch back to the graphics terminal (ctrl-alt-F7) and login as your normal user, you should then have all default settings.
    Last edited by tannington; 22-Oct-2021 at 02:38. Reason: typo
    Regards, Paul

  8. #8
    Join Date
    Jun 2008
    Location
    Florida, USA
    Posts
    982

    Default Re: Strange behaviour in GTK aplications in plasma

    I found this topic by searching on Thunderbird.
    I tried Tannington's approach and it did not seem to help, so I backed it out since it really trashed my highly configure dual display layout.
    I acknowledge that he warned us about side effects
    My situation is very similar to what fperal describes.

    My issues appeared, I think, when I did an on-line zupper dup upgrade from 15.2 to 15.3, but I cannot swear that it did not appear with a recent Thunderbird update.
    Based on more general google searches, it seem other distros are having similar issues with most recent Mozilla offerings such as Firefox and Thunderbird running KDE.
    On startup, they seem to be using Gnome base file helpers and perhaps default applications setups.

    A common suggestion is to start Thunderbird using this method
    Code:
     Exec=GTK_USE_PORTAL=1 thunderbird %u
    That does help, Thunderbird now presents Dolphin based file menus but default system applications still seems focused on Gnome.
    For example, in Thunderbird, attempting to open an attached file.docx.
    Tbird wants to choose calibri, which I have installed but is not on any settings list for docx files that I can find.
    And the menu option to save all attachments just does not work.

    I don't know enough to think this is a packaging issue or fundamental change to Mozilla build systems.
    I have seen similar issues on Arch, Mint and Ubuntu forums.

    Any thoughts appreciated.
    Desk: Ryzen5 Leap 15.1
    Lap: HPDV7T i7 Leap 15.2

  9. #9
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    2,031

    Default Re: Strange behaviour in GTK aplications in plasma

    Quote Originally Posted by cmcgrath5035 View Post
    ... Based on more general google searches, it seem other distros are having similar issues with most recent Mozilla offerings such as Firefox and Thunderbird running KDE.
    On startup, they seem to be using Gnome base file helpers and perhaps default applications setups.
    That's a known bug, being worked on at the moment: https://bugzilla.opensuse.org/show_bug.cgi?id=1191825

    If that's also causing other issues I wouldn't like to speculate.
    Regards, Paul

  10. #10
    Join Date
    Jun 2008
    Location
    Florida, USA
    Posts
    982

    Default Re: Strange behaviour in GTK aplications in plasma

    Thanks.
    Reads like a good possibility, I'll wait for nature to take it's course.
    Desk: Ryzen5 Leap 15.1
    Lap: HPDV7T i7 Leap 15.2

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •