Skip to content

fix: 任务栏最近使用任务区域残留锯齿图标应用 - #11

Merged
dengbo11 merged 1 commit into
linuxdeepin:masterfrom
ArchieMeng:master
Apr 22, 2023
Merged

dengbo11 merged 1 commit into
linuxdeepin:masterfrom
ArchieMeng:master

Conversation

@ArchieMeng

Copy link
Copy Markdown
Contributor

部分修复了两种场景:

  • 无法点击图标打开的锯齿应用在系统启动时残留在最近任务栏(如Deepin-Lock)
  • 锯齿图标应用被关闭后,残留在最近任务栏.(如dde-dconfig-editor)

当前存在问题:
第二种情况在锯齿应用被移除时,任务栏会闪一下.

Issue: linuxdeepin/developer-center#3788
Log: 任务栏最近使用任务区域残留锯齿图标应用

@tsic404

tsic404 commented Mar 28, 2023

Copy link
Copy Markdown
Contributor

@BLumia dock 现在移除item没有动画,在recentApp区域移除无desktopfile的程序后,会很僵硬的闪烁一下 😢

@BLumia

BLumia commented Mar 28, 2023

Copy link
Copy Markdown
Member

dock 现在移除item没有动画,在recentApp区域移除无desktopfile的程序后,会很僵硬的闪烁一下

这个问题应该改 dock 吧?

@tsic404

tsic404 commented Mar 28, 2023

Copy link
Copy Markdown
Contributor

dock 现在移除item没有动画,在recentApp区域移除无desktopfile的程序后,会很僵硬的闪烁一下

这个问题应该改 dock 吧?

那就需要为 dock 加一下update时的动画了

Comment thread src/modules/dock/dock.cpp Resolved
部分修复了两种场景:
- 无法点击图标打开的锯齿应用在系统启动时残留在最近任务栏(如Deepin-Lock)
- 锯齿图标应用被关闭后,残留在最近任务栏.(如dde-dconfig-editor)

当前存在问题:
第二种情况在锯齿应用被移除时,任务栏会闪一下.

Issue: linuxdeepin/developer-center#3788
Log: 任务栏最近使用任务区域残留锯齿图标应用
@dengbo11
dengbo11 merged commit b0383d4 into linuxdeepin:master Apr 22, 2023
felixonmars added a commit to felixonmars/dde-application-manager that referenced this pull request Sep 16, 2023
Calling line.front() on an empty line is forbidden and crashes the
process. Adding checks after erasing spaces from the line.

```
(gdb) bt
 #0  0x00007ffff568e83c in  () at /usr/lib/libc.so.6
 linuxdeepin#1  0x00007ffff563e668 in raise () at /usr/lib/libc.so.6
 linuxdeepin#2  0x00007ffff56264b8 in abort () at /usr/lib/libc.so.6
 linuxdeepin#3  0x00007ffff5add3b2 in std::__glibcxx_assert_fail(char const*, int, char const*, char const*)
     (file=file@entry=0x7ffff5bd7858 "/usr/src/debug/gcc/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h", line=line@entry=1305, function=function@entry=0x7ffff5bd79d0 "std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::front() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocat"..., condition=condition@entry=0x7ffff5bd3f6e "!empty()") at /usr/src/debug/gcc/gcc/libstdc++-v3/src/c++11/debug.cc:61
 linuxdeepin#4  0x00007ffff5b5a124 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::front() (this=<optimized out>) at /usr/src/debug/gcc/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h:1305
 linuxdeepin#5  0x00005555555dc011 in KeyFile::loadFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
 linuxdeepin#6  0x00005555555cd504 in DesktopInfo::DesktopInfo(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
 linuxdeepin#7  0x000055555565b64e in StartManager::getAutostartList()::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)linuxdeepin#1}::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const ()
 linuxdeepin#8  0x000055555565ba51 in StartManager::getAutostartList() ()
 linuxdeepin#9  0x0000555555654dd4 in StartManager::StartManager(QObject*) ()
 linuxdeepin#10 0x000055555566d5c0 in ApplicationManagerPrivate::ApplicationManagerPrivate(ApplicationManager*) ()
 linuxdeepin#11 0x000055555566ec8e in ApplicationManager::ApplicationManager(QObject*) ()
 linuxdeepin#12 0x000055555566eba5 in ApplicationManager::instance() ()
 linuxdeepin#13 0x00005555556769ce in main ()
```
black-desk pushed a commit that referenced this pull request Sep 17, 2023
Calling line.front() on an empty line is forbidden and crashes the
process. Adding checks after erasing spaces from the line.

```
(gdb) bt
 #0  0x00007ffff568e83c in  () at /usr/lib/libc.so.6
 #1  0x00007ffff563e668 in raise () at /usr/lib/libc.so.6
 #2  0x00007ffff56264b8 in abort () at /usr/lib/libc.so.6
 #3  0x00007ffff5add3b2 in std::__glibcxx_assert_fail(char const*, int, char const*, char const*)
     (file=file@entry=0x7ffff5bd7858 "/usr/src/debug/gcc/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h", line=line@entry=1305, function=function@entry=0x7ffff5bd79d0 "std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::front() [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocat"..., condition=condition@entry=0x7ffff5bd3f6e "!empty()") at /usr/src/debug/gcc/gcc/libstdc++-v3/src/c++11/debug.cc:61
 #4  0x00007ffff5b5a124 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::front() (this=<optimized out>) at /usr/src/debug/gcc/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h:1305
 #5  0x00005555555dc011 in KeyFile::loadFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
 #6  0x00005555555cd504 in DesktopInfo::DesktopInfo(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
 #7  0x000055555565b64e in StartManager::getAutostartList()::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#1}::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const ()
 #8  0x000055555565ba51 in StartManager::getAutostartList() ()
 #9  0x0000555555654dd4 in StartManager::StartManager(QObject*) ()
 #10 0x000055555566d5c0 in ApplicationManagerPrivate::ApplicationManagerPrivate(ApplicationManager*) ()
 #11 0x000055555566ec8e in ApplicationManager::ApplicationManager(QObject*) ()
 #12 0x000055555566eba5 in ApplicationManager::instance() ()
 #13 0x00005555556769ce in main ()
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants