[Screen Capture] 「已修复」dtk应用换个桌面环境就不美观了
Tofloor
poster avatar
keep_up
deepin
2020-08-09 16:07
Author

「更新」升级 DTK 到最新版本后,无须任何配置即可在诸如 GNOME 的第三方桌面正常显示 DTK 控件。

更新后 libdtkwidget5 版本 5.5.37-1deepin-screen-recorder 版本 5.10.15-1

「原帖」

目前deepin商店有相当的软件利用了dtk,例如我常用的

对应截图录屏、UOS输入法、星火商店。

它们在dde中的效果确实很美观,但是换个桌面环境(例如从官方源下的xfce4)

显示效果就变样了。

我还特别创建了个新用户,先登录deepin会话,再登录xfce会话,问题依旧。

大伙有没有遇到同样的问题?https://github.com/linuxdeepin/developer-center/issues/1845

图标看不见、菜单栏能见度不高、对勾看不见

选择控件变样、勾选框看不见

Reply Favorite View the author
All Replies
1 / 2
To page
avatar
sgb76
deepin
2020-08-09 17:22
#1
在kde环境下,dtk程序一样惨不忍睹
Reply View the author
avatar
SamLukeYes
deepin
2020-08-09 17:34
#2
dtk5 只适配了 DDE,官方解释过
Reply View the author
avatar
septemberhx
deepin
2020-08-18 22:12
#3
本帖最后由 septemberhx 于 2020-8-18 14:14 编辑

应该是 Qt platform theme 的问题?各个桌面官方有着自己的 qt platform theme,导致不同的 Qt 程序在不同桌面环境上显示效果都不一样
Reply View the author
avatar
Cris.Q
deepin
2020-08-18 22:25
#4
没办法,dtk5很不成熟
Reply View the author
avatar
Cris.Q
deepin
2020-08-18 22:25
#5
https://bbs.deepin.org/post/198665
应该是 Qt platform theme 的问题?各个桌面官方有着自己的 qt platform theme,导致不同的 Qt 程序在不同 ...

只是一部分,还有一部分是组件的锅,比如没装deepin-menu就没法用DTK的标题栏
Reply View the author
avatar
mcaoser
deepin
2020-08-19 00:12
#6
想起了以前用的fvwm了,简单又复杂,非常有个性
Reply View the author
avatar
神末shenmo
deepin
Spark-App
Q&A Team
2020-08-20 08:42
#7
https://bbs.deepin.org/post/135848##=2
Reply View the author
avatar
神末shenmo
deepin
Spark-App
Q&A Team
2020-08-20 08:43
#8
https://bbs.deepin.org/user/13250 非常抱歉又打扰您了,最近我们在做适配工作。在Ubuntu 20.04下切换了环境变量仍然是那个样子,是不是缺什么依赖?deepin-menu装过了,是不是还有什么别的?
Reply View the author
avatar
忘记、过去
deepin
2020-08-20 20:01
#9
https://bbs.deepin.org/post/135848

昨晚上看到的,参考23# kirigaya 大佬的回复,在启动的应用前加上环境变量 $XDG_CURRENT_DESKTOP=Deepin 试试?

不过shenmo已经说了在ubuntu20.04没效果了......
Reply View the author
avatar
justforlxz
deepin
2020-08-28 22:57
#10
https://bbs.deepin.org/post/198665
@kirigaya 非常抱歉又打扰您了,最近我们在做适配工作。在Ubuntu 20.04下切换了环境变量仍然是那个样子,是 ...

是读取的xdg_current_desktop这个环境变量的,XDG_CURRENT_DESKTOP=Deepin,执行程序前面加上这个试试
Reply View the author
Comments
keep_up
2020-09-20 22:45
试了一下,确实能缓解问题,但并非长久之计
avatar
sghnm
deepin
2020-08-28 23:23
#11
i3wm下无法全屏
Reply View the author
avatar
神末shenmo
deepin
Spark-App
Q&A Team
2020-08-29 16:36
#12
https://bbs.deepin.org/post/198665
是读取的xdg_current_desktop这个环境变量的,XDG_CURRENT_DESKTOP=Deepin,执行程序前面加上这个试试 ...

https://bbs.deepin.org/user/194903 有时间再帮忙测一下哈
Reply View the author
avatar
神末shenmo
deepin
Spark-App
Q&A Team
2020-08-31 20:33
#13
https://bbs.deepin.org/post/198665
是读取的xdg_current_desktop这个环境变量的,XDG_CURRENT_DESKTOP=Deepin,执行程序前面加上这个试试 ...

https://chinauos.com/topic/uos_desktop_try/download
老哥Windows的dtk5咋都出来了?
这咱们还没搞定非deepin显示效果。。。
Reply View the author
avatar
神末shenmo
deepin
Spark-App
Q&A Team
2020-09-01 21:27
#14
https://bbs.deepin.org/post/198665
是读取的xdg_current_desktop这个环境变量的,XDG_CURRENT_DESKTOP=Deepin,执行程序前面加上这个试试 ...

QObject::connect: No such slot Dtk::Gui:NativeSettings::_q_onThemePropertyChanged(const QByteArray &, const QVariant &)
QObject::connect: No such slot Dtk::Gui:NativeSettings::_q_onThemePropertyChanged(const QByteArray &, const QVariant &)
QObject::connect: No such slot Dtk::Gui:NativeSettings::_q_onThemePropertyChanged(const QByteArray &, const QVariant &)
Reply View the author
avatar
justforlxz
deepin
2020-09-03 00:04
#15
https://bbs.deepin.org/post/198665
https://chinauos.com/topic/uos_desktop_try/download
老哥Windows的dtk5咋都出来了?
这咱们还没搞定非 ...

前段时间入手了microsoft surface laptop 2,研究了使用vscode+remote ssh插件搞远程开发。可以计划搞一下dtk for windows了
Reply View the author
avatar
神末shenmo
deepin
Spark-App
Q&A Team
2020-09-03 01:35
#16
https://bbs.deepin.org/post/198665
前段时间入手了microsoft surface laptop 2,研究了使用vscode+remote ssh插件搞远程开发。可以计划搞一 ...

QObject::connect: No such slot Dtk::Gui:NativeSettings::_q_onThemePropertyChanged(const QByteArray &, const QVariant &)
QObject::connect: No such slot Dtk::Gui:NativeSettings::_q_onThemePropertyChanged(const QByteArray &, const QVariant &)
QObject::connect: No such slot Dtk::Gui:NativeSettings::_q_onThemePropertyChanged(const QByteArray &, const QVariant &)
这个报错,UKUI 上的,是缺什么呢?
Reply View the author
avatar
justforlxz
deepin
2020-09-03 22:35
#17
https://bbs.deepin.org/post/198665
QObject::connect: No such slot Dtk::Gui:NativeSettings::_q_onThemePropertyChanged(const QByteArr ...

不知道integration这个项目都改了啥了,应该是设置环境变量就可以了才对。
Reply View the author
avatar
神末shenmo
deepin
Spark-App
Q&A Team
2020-09-04 03:44
#18
https://bbs.deepin.org/post/198665
不知道integration这个项目都改了啥了,应该是设置环境变量就可以了才对。

原来是却这个依赖
dtk5咋没写全依赖呢?
能否给我们完整的dtk5依赖列表,方便我们测试?
Reply View the author
avatar
神末shenmo
deepin
Spark-App
Q&A Team
2020-09-04 03:45
#19
https://bbs.deepin.org/post/198665
不知道integration这个项目都改了啥了,应该是设置环境变量就可以了才对。

目前三件套和integration都装好了,关于页面还是段错误
Reply View the author
avatar
keep_up
deepin
2020-12-27 23:10
#20

今日更新帖子,希望对使用其他de,又想用deepin软件的同学有帮助

Reply View the author
1 / 2
To page