简体   繁体   English

一些 gnome GTK 应用程序中的 2 个标题栏

[英]2 title bars in some gnome GTK apps

i am having a strange issue, i have 2 title bars in some gnome apps at the top.我有一个奇怪的问题,我在顶部的一些 gnome 应用程序中有 2 个标题栏。

Here is a picture from the calendar app, look at the top:这是日历应用程序中的图片,请看顶部:

在此处输入图像描述

And another one from the calculator app:另一个来自计算器应用程序:

在此处输入图像描述

Any idea how to fix this issue or what might be causing it?知道如何解决这个问题或可能导致它的原因吗?

My system info:我的系统信息:

Operating Sysytem: Linux Mint 21 Cinnamon

Cinnamon Version: 5.4.12

Linux Kernel: 5.15.0-48-generic

The inner or lower title is the CSD -- Client-Side Decoration.内部或较低的标题是 CSD——客户端装饰。 What is supposed to happen is that the application tells the window manager not to put its own, standard, decoration, on the window.应该发生的是,应用程序告诉 window 管理器不要在 window 上放置自己的标准装饰。 For some reason, in your situation, the window manager is ignoring that request and adding its own (outer/upper) title bar.出于某种原因,在您的情况下,window 管理器忽略了该请求并添加了自己的(外部/上部)标题栏。 Are you using a non-standard window manager, or have you inadvertently made some setting to the window manager, telling it always to decorate/reparent its windows?您是在使用非标准的 window 管理器,还是无意中对 window 管理器进行了一些设置,告诉它总是装饰/重新设置其 windows?

Problem solved by removing gtk3-nocsd , i did the following:通过删除gtk3-nocsd解决了问题,我执行了以下操作:

  1. sudo apt remove gtk3-nocsd
  2. Reboot重启

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM