<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - CMIS dialog advances beyond lower right corner of the screen"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=137471#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - CMIS dialog advances beyond lower right corner of the screen"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=137471">bug 137471</a>
from <span class="vcard"><a class="email" href="mailto:m.weghorn@posteo.de" title="Michael Weghorn <m.weghorn@posteo.de>"> <span class="fn">Michael Weghorn</span></a>
</span></b>
<pre>(In reply to Michael Weghorn from <a href="show_bug.cgi?id=137471#c6">comment #6</a>)
<span class="quote">> However, "I expect the CMIS dialog on center of the application" might be a
> good place to start looking into this for now.</span >
It seems that the dialog is supposed to remember and restore its previous
state/position, handling added by this commit:
commit 7278462e12a6e41bb0e9496520e7a00d97856ce6
Author: Szymon Kłos
Date: Mon Aug 3 13:19:51 2015 +0200
remember user settings
Change-Id: I69c4672646365ca4cbeb04d6956741ffe365ad35
At a quick glance, it seems that for some reason
1) other VCL plugins don't restore the position at all
2) for qt5/kf5, there is some inconsistency between save and restore, so the
position changes with each cycle (Qt5Frame::GetWindowState vs.
Qt5Frame::SetWindowState)
@Heiko: I'd like to leave the question whether or not the state should
generally be saved or not to you as UX expert (to possibly discuss with
Szymon). Removing that handling makes the dialog open in the centre as desired.
The fact that qt5 restores the dialog at the wrong position looks wrong and
I'll take a look at this (which IMHO makes sense in any case, independent of
whether it's used for this specific dialog here or not).</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>