On Wed, 9 Sep 2020 08:49:35 -0700 Marc MERLIN <marc_...@merlins.org> said:

> Update. I hit this occasional bug where after unlocking/screen coming
> back from sleep, I could see X, but most of my windows were gone, just
> not visible anywhere on my screens.

are they visible in the pager? does switching through virtual desktops fix it?

> When that happens I know it's an E bug, and I have to restart E.
> I did, and then all my windows came back, however most got moved to
> different screns/locations than they were before.
> This is mostly true for chrome windows which aren't location managed by
> E.
> I thought E 0.24 would save window positions and leave them be when it
> restarted? Actually it didn't even touch them at all, it would have been
> fine (unless the bug where they disappered was because E moved them all
> off screen).
> Given that it doesn't do better than 0.23 on that front (for me) and
> can't fix gnome-terminal after the fact anymore, I'm very tempoted to
> revert back.
> 
> 
> After E came back:
> - all my chrome windows were totally in the wrong place
> 
> - I have procmeter3 (apt-get install procmeter3), which E has always
>   struggled to place and size correctly. It was in the wrong place and
>   with the wrong size.
>   For procmeter3, I did window remember all, save. When I re-open, it
>   gives me window/remember/volume. I put it back to all, save, re-open
>   and get window/remember/volume again :-/

id you also use locks to lock procmeter from moving/resizing and remember locks?

> - even my gnome terminals got moved slightly, but at least they stayed
>   in the correct virtual window

also locks as above? this may have to do with CSD in gnome terminal too. i
can't even run gnome-terminal. it just sits there dumbly never even creating a
window and then spews out:

# Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0:
# Error calling StartServiceByName for org.gnome.Terminal: Timeout was reached

so gnome-terminal is broken outside oof gnome for whatever dbus reasons if its
own making.

> I put the whole config here:
> http://marc.merlins.org/tmp/E0.24_config.txt
> 
> On Tue, Sep 08, 2020 at 07:36:16PM +0100, Carsten Haitzler wrote:
> > well the config e has is the current config so there is no way. if the
> > window moved, resized etc. e saves the config for remembers again so it
> > keeps it in sync with the current state. it always has done this.
>  
> Yes, but I turned that off, I use "window/remembers/options/keep current
> properties"

Well then I guess you make it extra work to have to manually remember the state
at any point. it might be that this has some logic holes when trying to adapt
remembered geometry for a screen/desktop res it wasn't remembered on. but that
requires basically having your environment to see what is going on.

> > > I hear you on switching terminals, it'll be my last option. I don't
> > > actually like gnome, but the termeinal checks a lot of checkboxes I
> > > need.
> > 
> > just try it to test....
> 
> It's actually a fair amount of work for me to re-lay all these windows
> carefully (we're talking 20=30mn) plus all the work that I lose when I

just try do it to a few of them, not all. see if it behaves the same. if you
can get 2 of them to behave well then that bodes well to get all of them
working. that takes less time that it took me to write this paragraph... :)

> restart. If we don't find an answer in the config I sent you, or you
> don't have a spare devel machine where you can easily start a single
> gnome-terminal to see if it behaves when you make it save settings, I'll
> try and find a spare machine where I can do that without impacting my
> main work laptop.

gnome-terminal just doesn't start. not on my desktop. not on the laptop next to
me. e has nothing to do with gnomes terminal dbus services.

> Here's a random gnome-terminal window:
>         group "E_Remember" struct {
>             value "version" uint: 1;
>             value "match" int: 59;
>             value "no_reopen" int: 0;
>             value "apply_first_only" uchar: 0;
>             value "keep_settings" uchar: 1;
>             value "name" string: "gnome-terminal-server";
>             value "class" string: "Gnome-terminal";
>             value "role" string: "window1";
>             value "type" int: 8;
>             value "transient" uchar: 0;
>             value "apply" int: 245247;
>             value "max_score" int: 0;
>             value "prop.pos_x" int: 2;
>             value "prop.pos_y" int: 55;
>             value "prop.res_x" int: 3840;
>             value "prop.res_y" int: 2160;
>             value "prop.pos_w" int: 750;
>             value "prop.pos_h" int: 322;
>             value "prop.frame_w" int: 0;
>             value "prop.frame_h" int: 0;
>             value "prop.w" int: 750;
>             value "prop.h" int: 322;
>             value "prop.layer" int: 200;
>             value "prop.maximize" uint: 0;
>             value "prop.lock_user_location" uchar: 0;
>             value "prop.lock_client_location" uchar: 0;
>             value "prop.lock_user_size" uchar: 0;
>             value "prop.lock_client_size" uchar: 0;
>             value "prop.lock_user_stacking" uchar: 0;
>             value "prop.lock_client_stacking" uchar: 0;
>             value "prop.lock_user_iconify" uchar: 0;
>             value "prop.lock_client_iconify" uchar: 0;
>             value "prop.lock_user_desk" uchar: 0;
>             value "prop.lock_client_desk" uchar: 0;
>             value "prop.lock_user_sticky" uchar: 0;
>             value "prop.lock_client_sticky" uchar: 0;
>             value "prop.lock_user_shade" uchar: 0;
>             value "prop.lock_client_shade" uchar: 0;
>             value "prop.lock_user_maximize" uchar: 0;
>             value "prop.lock_client_maximize" uchar: 0;
>             value "prop.lock_user_fullscreen" uchar: 0;
>             value "prop.lock_client_fullscreen" uchar: 0;
>             value "prop.lock_border" uchar: 0;
>             value "prop.lock_close" uchar: 0;
>             value "prop.lock_focus_in" uchar: 0;
>             value "prop.lock_focus_out" uchar: 0;
>             value "prop.lock_life" uchar: 0;
>             value "prop.sticky" uchar: 0;
>             value "prop.shaded" uchar: 50;
>             value "prop.skip_winlist" uchar: 0;
>             value "prop.skip_pager" uchar: 0;
>             value "prop.skip_taskbar" uchar: 0;
>             value "prop.fullscreen" uchar: 0;
>             value "prop.desk_x" int: 0;
>             value "prop.desk_y" int: 0;
>             value "prop.zone" int: 0;
>             value "prop.command" string: "gnome-terminal-server";
>             value "prop.icon_preference" uchar: 0;
>             value "prop.offer_resistance" uchar: 0;
>             value "prop.opacity" uchar: 255;
>             value "prop.volume" int: 0;
>             value "prop.volume_min" int: 0;
>             value "prop.volume_max" int: 0;
>             value "prop.mute" uchar: 0;
>             value "pid" int: 0;
>         }
> 
> 
> Here's a bit on procmeter3, not sure why this fails to save the window
> properties:
>         group "E_Remember" struct {
>             value "version" uint: 1;
>             value "match" int: 35;
>             value "no_reopen" int: 0;
>             value "apply_first_only" uchar: 0;
>             value "keep_settings" uchar: 1;
>             value "name" string: "procmeter3";
>             value "class" string: "ProcMeter3";
>             value "type" int: 0;
>             value "transient" uchar: 0;
>             value "apply" int: 524288;
>             value "max_score" int: 0;
>             value "prop.pos_x" int: 3695;
>             value "prop.pos_y" int: 817;
>             value "prop.res_x" int: 3840;
>             value "prop.res_y" int: 2160;
>             value "prop.pos_w" int: 143;
>             value "prop.pos_h" int: 1341;
>             value "prop.frame_w" int: 0;
>             value "prop.frame_h" int: 0;
>             value "prop.w" int: 143;
>             value "prop.h" int: 1341;
>             value "prop.layer" int: 200;
>             value "prop.maximize" uint: 0;
>             value "prop.lock_user_location" uchar: 0;
>             value "prop.lock_client_location" uchar: 0;
>             value "prop.lock_user_size" uchar: 0;
>             value "prop.lock_client_size" uchar: 0;
>             value "prop.lock_user_stacking" uchar: 0;
>             value "prop.lock_client_stacking" uchar: 0;
>             value "prop.lock_user_iconify" uchar: 0;
>             value "prop.lock_client_iconify" uchar: 0;
>             value "prop.lock_user_desk" uchar: 0;
>             value "prop.lock_client_desk" uchar: 0;
>             value "prop.lock_user_sticky" uchar: 0;
>             value "prop.lock_client_sticky" uchar: 0;
>             value "prop.lock_user_shade" uchar: 0;
>             value "prop.lock_client_shade" uchar: 0;
>             value "prop.lock_user_maximize" uchar: 0;
>             value "prop.lock_client_maximize" uchar: 0;
>             value "prop.lock_user_fullscreen" uchar: 0;
>             value "prop.lock_client_fullscreen" uchar: 0;
>             value "prop.lock_border" uchar: 0;
>             value "prop.lock_close" uchar: 0;
>             value "prop.lock_focus_in" uchar: 0;
>             value "prop.lock_focus_out" uchar: 0;
>             value "prop.lock_life" uchar: 0;
>             value "prop.border" string: "pixel";
>             value "prop.sticky" uchar: 1;
>             value "prop.shaded" uchar: 50;
>             value "prop.skip_winlist" uchar: 0;
>             value "prop.skip_pager" uchar: 0;
>             value "prop.skip_taskbar" uchar: 0;
>             value "prop.fullscreen" uchar: 0;
>             value "prop.desk_x" int: 1;
>             value "prop.desk_y" int: 0;
>             value "prop.zone" int: 0;
>             value "prop.command" string: "procmeter3";
>             value "prop.icon_preference" uchar: 0;
>             value "prop.offer_resistance" uchar: 1;
>             value "prop.opacity" uchar: 255;
>             value "prop.volume" int: 0;
>             value "prop.volume_min" int: 0;
>             value "prop.volume_max" int: 0;
>             value "prop.mute" uchar: 0;
>             value "pid" int: 0;
>         }
> 
> 
> Thanks,
> Marc
> -- 
> "A mouse is a device used to point at the xterm you want to type in" - A.S.R.
>  
> Home page: http://marc.merlins.org/                       | PGP
> 7F55D5F27AAF9D08
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
Carsten Haitzler - ras...@rasterman.com



_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to