linuxdeepin / developer-center

Deepin developer center, provide developer wiki and community forum.
450 stars 73 forks source link

GUI Shadow Mismatch Deepin v23 #7317

Open theDepart3d opened 6 months ago

theDepart3d commented 6 months ago

SUMMARY | 问题概要

Deepin Volume bar shadow mismatch.

volume_bar_shadow_mismatch-min

For any additional information please ask.

SOFTWARE/OS VERSIONS | 软件/系统版本信息

Distro: Arch/Linux x86_64
Deepin V: 23

PRE-REQUIREMENT | 预置条件

No response

STEPS TO REPRODUCE | 复现步骤

Install Arch and select deepin for GUI. thats it

OBSERVED RESULT | 观察到的结果

No response

EXPECTED RESULT | 期望的结果

Volume bar and shadow to match position.

ADDITIONAL INFORMATION | 额外补充

No response

BLumia commented 6 months ago

I cannot reproduce it here. Are you using the testing repo? What's the version of deepin-kwin package?

theDepart3d commented 6 months ago

I cannot reproduce it here. Are you using the testing repo? What's the version of deepin-kwin package?

No, testing repo is disabled.

Name            : deepin-kwin
Version         : 5.25.14-1
Description     : DDE window manager forked from KWin
Architecture    : x86_64
URL             : https://github.com/linuxdeepin/deepin-kwin
Licenses        : GPL3
Groups          : None
Provides        : None
Depends On      : qt5-declarative  qt5-x11extras  kconfig5  kconfigwidgets5  kcoreaddons5  kdbusaddons5  kdeclarative5  kglobalaccel5  ki18n5
                  kidletime5  knotifications5  kcrash5  kpackage5  plasma-framework5  libepoxy  kwidgetsaddons5  kwindowsystem5  kcompletion5
                  kcmutils5  knewstuff5  kservice5  ktextwidgets5  kxmlgui5  kdecoration  kscreenlocker  dwayland  xcb-util-cursor  xorg-xwayland
                  libpipewire  breeze  lcms2  libqaccessibilityclient  qt5-quickcontrols  python  fontconfig  freetype2  libcap  systemd-libs
                  kauth5  bash  kactivities5  libxkbcommon  libxss  libxi  libinput  xcb-util-wm  wayland  perl  libxcb  xcb-util-keysyms  libx11
                  libxtst  libdrm  gcc-libs  mesa  qt5-base  deepin-qt5platform-plugins
Optional Deps   : None
Required By     : deepin-session
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 24.55 MiB
Packager        : Felix Yan <felixonmars@archlinux.org>
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature
theDepart3d commented 6 months ago

@BLumia How important is the testing repo for deepin GUI and all of it's features.

It's my first time using deepin as the GUI and so far everything has been spectacular. Just minor things here and there. Such as the shadow mismatch and the previous menu issue #7275

theDepart3d commented 6 months ago

@felixonmars Could i be missing a package?

BLumia commented 6 months ago

How important is the testing repo for deepin GUI and all of it's features.

Please do not enable testing repo if you don't know what you're doing. I ask the question simply because I cannot reproduce the issue on my installation.

There was a blur offset issue a long time ago but it should already be fixed for a while. I'm not sure if it's still related but could you provide your kwinrc and/or deepin-kwinrc configuration file that you're currently using? It should be located under ~/.config/. Thanks!

theDepart3d commented 6 months ago

There was a blur offset issue a long time ago but it should already be fixed for a while. I'm not sure if it's still related but could you provide your kwinrc and/or deepin-kwinrc configuration file that you're currently using? It should be located under ~/.config/. Thanks!

Unfortunately the file and the package does not exist on my system.

[root@arch deepin]# pacman -Qi deepin-kwinrc
error: package 'deepin-kwinrc' was not found
[root@arch deepin]# pacman -Sy deepin-kwinrc
:: Synchronizing package databases...
 core                                           134.5 KiB  46.5 KiB/s 00:03 [##########################################] 100%
 extra                                            8.4 MiB   601 KiB/s 00:14 [##########################################] 100%
 multilib                                       139.7 KiB   163 KiB/s 00:01 [##########################################] 100%
error: target not found: deepin-kwinrc
[root@arch deepin]# dir
dde-launchpad
[root@arch deepin]# dirs
~/.config/deepin
[root@arch deepin]# ls -lah
total 0
drwxr-xr-x 1 root root  26 Feb 14 12:46 .
drwx------ 1 root root 110 Feb 21 13:21 ..
drwxr-xr-x 1 root root  40 Feb 14 18:09 dde-launchpad
[root@arch deepin]# 
[root@archi deepin]# kwinrc
-bash: kwinrc: command not found
[root@arch deepin]# pacman -Sy kwinrc
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 multilib is up to date
error: target not found: kwinrc
[root@arch deepin]# 
BLumia commented 6 months ago

kwinrc and/or deepin-kwinrc are configuration files instead of package names. try ls ~/.config | grep kwin and see if you have these files.

[root@arch deepin]#

To be clear, a regular user is recommended to be used together with a desktop environment. When executing ls ~/.config | grep kwin, please ensure you are using the same user as the one that your current desktop session was logged in.

theDepart3d commented 6 months ago

kwinrc and/or deepin-kwinrc are configuration files instead of package names. try ls ~/.config | grep kwin and see if you have these files.

[root@arch deepin]#

To be clear, a regular user is recommended to be used together with a desktop environment. When executing ls ~/.config | grep kwin, please ensure you are using the same user as the one that your current desktop session was logged in.

Okay cool, under the normal user. I have those files:

[archer@archi ~]$ ls .config/ | grep -i kwin
deepin-kwinrc
deepin-kwinrulesrc

EDIT: Added File contents

[user@arch ~]$ **cat .config/deepin-kwinrc** 
[Compositing]
OpenGLIsUnsafe=false

[Desktops]
Id_1=PROBABLY-UNIQUE-ID-REMOVED
Name_2[$d]
Number=1

[Plugins]
magiclampEnabled=true
minimizeallEnabled=false

[Script-closewindowaction]
BorderActivate=

[Script-runcommandaction]
BorderActivate=

[Workspace]
CurrentDesktop=1

[deepin-chameleon]
theme=dark/deepin

[user@arch ~]$ **cat .config/deepin-kwinrulesrc** 
[General]
rules=1,2,3,4
BLumia commented 6 months ago

It doesn't seem to be related to the issue that happened previously. @kegechen what info are needed for triaging the issue?