Bug 372475 - Wrong window position after restart in fluxbox
Summary: Wrong window position after restart in fluxbox
Status: RESOLVED FIXED
Alias: None
Product: krusader
Classification: Applications
Component: general (show other bugs)
Version: 2.5.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-14 15:48 UTC by Chocimier
Modified: 2018-05-06 00:15 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chocimier 2016-11-14 15:48:25 UTC
With fluxbox 1.3.7 after krusader restart window moves up by height of window bottom border.
Comment 1 Alex Bikadorov 2016-11-22 18:31:41 UTC
Could be already fixed by 2a6103ef5 in master.

Can you build from source?
Comment 2 Chocimier 2016-11-28 08:18:14 UTC
Master version (c246117) indeed restores with no shift. Good job.
Now problem is that master uses position saved by 2.5.0, rather than by oneself.
So profile has to be removed to get restoring right.
Comment 3 Alex Bikadorov 2016-11-28 18:56:25 UTC
Now I experience a small shift by width AND height in KDE (dunno why this didn't occur before).

Doc. references here:
http://doc.qt.io/qt-5.7/restoring-geometry.html
and more specific
http://doc.qt.io/qt-5.7/application-windows.html#x11-peculiarities

>  Basic rule: There's always one user who uses a window manager that breaks your assumption, and who will complain to you.

oh. Cool.

I guess this can't be totally solved now. pos() and size() seems to be equivalent to geometry() and KF5 doesn't have anything either.

>Now problem is that master uses position saved by 2.5.0, rather than by oneself.
>So profile has to be removed to get restoring right.

What do you mean? Compiled and installed applications both use the same config file. There is no other.
Comment 4 Chocimier 2016-11-28 19:45:30 UTC
> Now problem is that master uses position saved by 2.5.0, rather than by oneself
I can not reproduce that anymore, never mind.

> Now I experience a small shift by width AND height in KDE
If one way works for some users and second for another, that can become a setting.

> There's always one user who uses a window manager that breaks your assumption, and who will complain to you.
Since it is not I anymore, closing. Thanks.