# Tryton client 5.0 is acting really strange on KDE, probably due to gtk3 csd's

**URL:** https://discuss.tryton.org/t/tryton-client-5-0-is-acting-really-strange-on-kde-probably-due-to-gtk3-csds/2460
**Category:** User
**Created:** [March 18, 2020, 10:04am UTC](https://discuss.tryton.org/t/tryton-client-5-0-is-acting-really-strange-on-kde-probably-due-to-gtk3-csds/2460 "2020-03-18T10:04:03Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Jani-Matti](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/j/bc8723/32.png) [@Jani-Matti](https://discuss.tryton.org/u/Jani-Matti)
#### Post date: [March 18, 2020, 10:04am UTC](https://discuss.tryton.org/t/tryton-client-5-0-is-acting-really-strange-on-kde-probably-due-to-gtk3-csds/2460/1 "2020-03-18T10:04:04Z")

</div>

The 5.0 LTS version of the client is acting really strange on KDE. I think this probably due to the way it implements the GTK3 client-side window decorations.

I’ve attached below a few screenshots & explanations, which illustrate the issue. Is there a way to fix this with settings?

 ![tryton-client-5.0_with_csd](https://discuss-cdn.tryton.org/uploads/default/original/1X/b32eba8f754abe93b22989ca290af5ae7d19b3d7.png)  
Here is the client window without any special Kwin-related settings. It looks normal enough, but if you look more closely, you can see that the text is a bit distorted & also if you look at the cursor position, the clickbox of the first toolbar item is offset down & to the right. This also applies to all of the UI elements, including items in the list.

 ![tryton-client-5.0_without_csd](https://discuss-cdn.tryton.org/uploads/default/original/1X/81cfd8ffc4c4cc804122d6f8dc8d34198743f642.png)  
Above is the client forced to run inside a Kwin frame. As you can see, there’s empty space around the GTK3 window frame inside. I think this is causing the issues.

If the client window is maximised full-screen this scaling/empty-space around frame issue goes away.

Edit: Oh also noticed that if I try to maximize the normal client window to half-full screen, there’s the same empty space around the side & bottom edges of the window & the same scaling issue. Clearly some bug in the way the client-side window decoration has been written. No similar issues on Windows (luckily).

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [March 18, 2020, 12:35pm UTC](https://discuss.tryton.org/t/tryton-client-5-0-is-acting-really-strange-on-kde-probably-due-to-gtk3-csds/2460/2 "2020-03-18T12:35:08Z")

</div>

Maybe it is linked to App Menu. As it is been retired from Gnome project, I created [App Menu retired by Gnome (#9115) · Issues · Tryton / Tryton · GitLab](https://bugs.tryton.org/issue9115)  
If this does not help, I think it should be reported to GTK project because we do not do anything special in the client that could explain this behavior.

---

<div class="post-metadata">

### Author: ![Jani-Matti](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/j/bc8723/32.png) [@Jani-Matti](https://discuss.tryton.org/u/Jani-Matti)
#### Post date: [March 18, 2020, 3:55pm UTC](https://discuss.tryton.org/t/tryton-client-5-0-is-acting-really-strange-on-kde-probably-due-to-gtk3-csds/2460/3 "2020-03-18T15:55:58Z")

</div>

Oh. Sorry about that. I tested with a few other GTK3 & Python applications and this seems to be affect all of them. Will have to figure out, whether it’s a config, GTK3, or KDE issue.
