On Sun, 22 Aug 2021 17:51:03 +0900 Masaru Nomiya <[email protected]> said:
Ummm look at this thread. When windows are "hidden" (iconified, window on another virtual desktop etc.) enlightenment will set the: _NET_WM_STATE(ATOM) = _NET_WM_STATE_HIDDEN property. you can see it if you use the xprop tool to look at window properties. (xprop then click on a window - but it'll be visible so it won't be there. xprop -d 0x1234 etc. will get properties of a specific window). This property is set so the client application knows it's window is not normally visible to the user. Some applications stop rendering when this is set to save CPU and overhead. Why render updates the user will not see? When the window is visible again E will remove this property. You can watch the properties on your emacs window. e.g.: while [ 1 ]; do sleep 1; date; xprop -id 0x12345678 | grep _NET_WM_STATE; done and you will get times and the line from the xprop output. you can get window id by running xwininfo then clicking on a window. so for example here is a window I iconified then un-iconified: while [ 1 ]; do sleep 1; date; xprop -id 0x2e00002 | grep _NET_WM_STATE; done Mon Aug 23 09:14:12 AM BST 2021 Mon Aug 23 09:14:13 AM BST 2021 Mon Aug 23 09:14:14 AM BST 2021 Mon Aug 23 09:14:15 AM BST 2021 Mon Aug 23 09:14:16 AM BST 2021 _NET_WM_STATE(ATOM) = _NET_WM_STATE_HIDDEN Mon Aug 23 09:14:17 AM BST 2021 _NET_WM_STATE(ATOM) = _NET_WM_STATE_HIDDEN Mon Aug 23 09:14:18 AM BST 2021 _NET_WM_STATE(ATOM) = _NET_WM_STATE_HIDDEN Mon Aug 23 09:14:19 AM BST 2021 _NET_WM_STATE(ATOM) = _NET_WM_STATE_HIDDEN Mon Aug 23 09:14:20 AM BST 2021 _NET_WM_STATE(ATOM) = _NET_WM_STATE_HIDDEN Mon Aug 23 09:14:21 AM BST 2021 _NET_WM_STATE(ATOM) = _NET_WM_STATE_HIDDEN Mon Aug 23 09:14:22 AM BST 2021 Mon Aug 23 09:14:23 AM BST 2021 Mon Aug 23 09:14:24 AM BST 2021 Mon Aug 23 09:14:25 AM BST 2021 Notice that the property appears while it's iconified and goes away when not. You commented out the code in E that modifies this property (adds it and removes it). The fact that this property is not set at all anymore points to code in emacs somewhere that is responding to this property change and then stops rendering, but when the property goes away it doesn't START rendering again. > Hello, > > Just like an errand. (^^;; > > In the Message; > > Subject : Re: [e-users] emacs problem persists > Message-ID : <[email protected]> > Date & Time: Sat, 21 Aug 2021 07:23:03 +0100 > > [CH] == Carsten Haitzler <[email protected]> has written: > > CH> On Sat, 21 Aug 2021 13:55:37 +0900 Masaru Nomiya > CH> <[email protected]> said: > > [...] > CH> It doesn't handle the hidden state changes properly and chooses > CH> to not render updates. :) But you can now tell them what the bug is. > > I posted, but the committer can't understand. > Says with irony; > > >> Could you please ask the developer what the bug really is? Which are > >> the hidden changes and in which sense do we not render updates? What > >> should we do better? > > >> Thank you for any enlightenment in this area. > > So sorry, but how can I do? > > Thanks. > > --- > ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp > ┃\/彡 > ┗━━┛ "Three young men died for Rationalization. > Yet, Margaret Bloody Thatcher LIVES!" > 'Brassed Off' > > > _______________________________________________ > enlightenment-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-users > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- Carsten Haitzler - [email protected] _______________________________________________ enlightenment-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-users
