goldendict-ng icon indicating copy to clipboard operation
goldendict-ng copied to clipboard

Can the title bar in dark mode also be turned black?

Open blucca opened this issue 1 year ago • 18 comments

image

如图,现在深色模式的标题栏是白色的,能否切换成黑色?

blucca avatar Oct 11 '23 08:10 blucca

Bot detected the issue body's language is not English, translate it automatically.

image

As shown in the picture, the title bar in dark mode is now white. Can it be switched to black?

github-actions[bot] avatar Oct 11 '23 08:10 github-actions[bot]

pic_1697017512.png

czz404 avatar Oct 11 '23 09:10 czz404

pic_1697017512.png

这样窗口失去焦点就会变回白色吧。有没有像chrome的隐私窗口一样一直让标题栏保持黑色的方法呢。。

blucca avatar Oct 11 '23 13:10 blucca

Bot detected the issue body's language is not English, translate it automatically.

![pic_1697017512.png](https://camo.githubusercontent.com/603ac219528a7851feae46fdd495270ba3e87663cca68be73057f41b4ac38948/68747470733a2f2f73322e6c6f6c692e 6e65742f323032332f31302f31312f445531695a6b38765742734a7847492e706e67)

This way the window will turn back to white when it loses focus. Is there any way to keep the title bar black like Chrome's privacy window? .

github-actions[bot] avatar Oct 11 '23 13:10 github-actions[bot]

pic_1697017512.png

这样窗口失去焦点就会变回白色吧。有没有像chrome的隐私窗口一样一直让标题栏保持黑色的方法呢。。

https://winaero.com/change-color-of-inactive-title-bars-in-windows-10/amp/ 善用搜索引擎

czz404 avatar Oct 11 '23 13:10 czz404

Bot detected the issue body's language is not English, translate it automatically.

![pic_1697017512.png](https://camo.githubusercontent.com/603ac219528a7851feae46fdd495270ba3e87663cca68be73057f41b4ac38948/68747470733a2f2f73322e6c6f6c692 e6e65742f323032332f31302f31312f445531695a6b38765742734a7847492e706e67)

In this way, the window will turn back to white when it loses focus. Is there any way to keep the title bar black like Chrome's privacy window? .

https://winaero.com/change-color-of-inactive-title-bars-in-windows-10/amp/ Make good use of search engines

github-actions[bot] avatar Oct 11 '23 13:10 github-actions[bot]

并且在搜索找不到的词汇以后清空搜索框,搜索框就又会变回白色了 test

blucca avatar Oct 11 '23 13:10 blucca

Bot detected the issue body's language is not English, translate it automatically.

And after searching for words that cannot be found, clear the search box and the search box will turn back to white. test

github-actions[bot] avatar Oct 11 '23 13:10 github-actions[bot]

pic_1697017512.png

这样窗口失去焦点就会变回白色吧。有没有像chrome的隐私窗口一样一直让标题栏保持黑色的方法呢。。

https://winaero.com/change-color-of-inactive-title-bars-in-windows-10/amp/ 善用搜索引擎

谢谢你回复我,抱歉我没有表达清楚我的需求,我不想让全部窗口都变成黑色标题栏,只想要处于深色模式的部分应用窗口全黑。

blucca avatar Oct 11 '23 14:10 blucca

Bot detected the issue body's language is not English, translate it automatically.

![pic_1697017512.png](https://camo.githubusercontent.com/603ac219528a7851feae46fdd495270ba3e87663cca68be73057f41b4ac38948/68747470733a2f2f73322e6c6f6c69 2e6e65742f323032332f31302f31312f445531695a6b38765742734a7847492e706e67)

This way the window will turn back to white when it loses focus. Is there any way to keep the title bar black like Chrome's privacy window? .

https://winaero.com/change-color-of-inactive-title-bars-in-windows-10/amp/ Make good use of search engines

Thank you for replying to me. I didn't express my needs clearly. I don't want all windows to turn into black status bars. I only want some application windows in dark mode to be completely black.

github-actions[bot] avatar Oct 11 '23 14:10 github-actions[bot]

并且在搜索找不到的词汇以后清空搜索框,搜索框就又会变回白色了 test

This seems a bug

xiaoyifang avatar Oct 11 '23 14:10 xiaoyifang

Bot detected the issue body's language is not English, translate it automatically.

And after clearing the search box after searching for words that cannot be found, the search box will turn back to white! [test](https://user-images.githubusercontent.com/127029904/274298288-e53e37d8-efce-4870- 9d47-7a1666f38482.gif) [ test ](https://user-images. githubusercontent.com/127029904/274298288-e53e37d8-efce-4870-9d47-7a1666f38482.gif) [ ](https://user-images.githubusercontent.com/127029904/274298288-e53e37d8-efce-4870-9d 47-7a1666f38482.gif )

This seems a bug

github-actions[bot] avatar Oct 11 '23 14:10 github-actions[bot]

并且在搜索找不到的词汇以后清空搜索框,搜索框就又会变回白色了

改为斜体如何? image

xiaoyifang avatar Oct 11 '23 23:10 xiaoyifang

Bot detected the issue body's language is not English, translate it automatically.

And after clearing the search box after searching for words that cannot be found, the search box will turn back to white.

How about changing it to italics? image

github-actions[bot] avatar Oct 11 '23 23:10 github-actions[bot]

只想要处于深色模式的部分应用窗口全黑似乎没有什么好办法,我目前想到的是直接使用 winsize 隐藏标题栏 至于标题栏被隐藏掉的功能,使用鼠标手势就可以了,如mouseinc等 winsize:https://meta.appinn.net/t/topic/41358/13 (不是打广告,只是我是这个软件的用户) pic_1697070719.png

czz404 avatar Oct 12 '23 00:10 czz404

Bot detected the issue body's language is not English, translate it automatically.

There seems to be no good way. What I currently think of is to use winsize directly to hide the title bar. winsize: https://meta.appinn.net/t/topic/41358/13 (Not advertising, just that I am a user of this software) pic_1697070364.png

github-actions[bot] avatar Oct 12 '23 00:10 github-actions[bot]

主要是qt对windows下暗黑模式支持的不好。

单独实现的话,改动比较多,还要额外实现 最大最小的那几个功能。 标题栏 暂时没计划处理。

如果winsize可以使用,也可以尝试一下。

xiaoyifang avatar Oct 12 '23 01:10 xiaoyifang

Bot detected the issue body's language is not English, translate it automatically.

The main reason is that Qt does not support dark mode well under Windows.

If implemented alone, there will be a lot of changes, and the largest and smallest functions must be additionally implemented. There are no plans to deal with the title bar at the moment.

github-actions[bot] avatar Oct 12 '23 01:10 github-actions[bot]