martyr-deepin / arch-deepin

Building Deepin Software on ArchLinux. This project is no longer being actively developed, please report issues to https://github.com/linuxdeepin/developer-center/issues instead
64 stars 7 forks source link

win+s以后,dock出现在窗口预览里面,可关闭。 #249

Closed justforlxz closed 8 years ago

justforlxz commented 8 years ago

20160222125150

被关闭以后,等待数秒再次出现。

sbwtw commented 8 years ago

deepin 同样有这样的问题,应该是窗管 bug

fasheng commented 8 years ago

我昨天遇到一次, 不过没找到重现步骤, @oberon2007 也提到过 https://github.com/fasheng/arch-deepin/issues/246#issuecomment-186503099

oberon-manjaro commented 8 years ago

Hi! :) I made a git bisect about that: https://github.com/fasheng/arch-deepin/issues/246#issuecomment-186608907

oberon-manjaro commented 8 years ago

For me the issue was introduced with https://github.com/linuxdeepin/dde-dock/commit/3a38d20b5bb0af4d46dacfcd8f82a6da59daa0e2

fasheng commented 8 years ago

Thanks @oberon2007, this helps~

sonald commented 8 years ago

:+1: wow, that's a relief

fasheng commented 8 years ago

Looks related to https://github.com/linuxdeepin/dde-dock/issues/3.

oberon-manjaro commented 8 years ago

Not sure @fasheng . _NET_WM_WINDOW_TYPE_DOCK looks ok here!

_NET_WM_STATE(ATOM) = _NET_WM_STATE_SKIP_PAGER, _NET_WM_STATE_SKIP_TASKBAR
WM_STATE(WM_STATE):
        window state: Normal
        icon window: 0x0
_NET_WM_DESKTOP(CARDINAL) = 0
_NET_FRAME_EXTENTS(CARDINAL) = 0, 0, 25, 0
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW
_NET_WM_STRUT_PARTIAL(CARDINAL) = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 279, 1086
XdndAware(ATOM) = BITMAP
WM_NAME(STRING) = 
_NET_WM_NAME(UTF8_STRING) = "Dock"
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x3, 0x3c, 0x7a, 0x0, 0x0
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DOCK
_XEMBED_INFO(_XEMBED_INFO) = 0x0, 0x1
WM_CLIENT_LEADER(WINDOW): window id # 0x2000005
WM_HINTS(WM_HINTS):
        Client accepts input or input focus: False
        Initial state is Normal State.
_NET_WM_PID(CARDINAL) = 1630
WM_CLASS(STRING) = "dde-dock", "dde-dock"
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING
WM_NORMAL_HINTS(WM_SIZE_HINTS):
        user specified location: 279, 723
        user specified size: 807 by 70
        program specified minimum size: 807 by 70
        program specified maximum size: 807 by 70
        window gravity: NorthWest
hualet commented 8 years ago

the original post has stated that the property is OK with xprop, it's all about i3 doesn't work well with dde-dock :joy: @fasheng @oberon2007

hualet commented 8 years ago

@oberon2007 I reviewed the commit you provided, it shouldn't be the one introduced this bug. Would you please re-confirm that ? Thx

oberon-manjaro commented 8 years ago

@hualet , you are right, in i3 the initial commit is already bad :laughing: But I have just double checked (in deepin :stuck_out_tongue_winking_eye: ) _commit=e7ceb38 # :+1: _commit=3a38d20 # :-1:

hualet commented 8 years ago

That's weird, @sbwtw and me will look into it. :disappointed:

oberon-manjaro commented 8 years ago

Thank you! :smiley:

hualet commented 8 years ago

Hi all, @sbwtw the genius :joy: has found out the bad line, and I created a commit. https://cr.deepin.io/#/c/11022/ We tested it and everything seems pretty fine now. :smile:

oberon-manjaro commented 8 years ago

Great job! Thank you! Will test it later :smiley:

oberon-manjaro commented 8 years ago

Solved for. Well done! Hooray!

oberon-manjaro commented 8 years ago

A question for the future: If this is simply related to deepin-wm, do you have an idea why this was only an issue for some installs and not for everyone - not even on other arch systems?

fasheng commented 8 years ago

Well, maybe dde-dock crash and restart more often in some special environment for it will reproduct the issue all the time...

oberon-manjaro commented 8 years ago

It never crashed here. ... Anyway. I am glad that it's solved :smile: :+1: