[Libreoffice-bugs] [Bug 137471] CMIS dialog advances beyond lower right corner of the screen

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Nov 2 12:56:05 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=137471

--- Comment #9 from Michael Weghorn <m.weghorn at posteo.de> ---
(In reply to Michael Weghorn from comment #6)
> However, "I expect the CMIS dialog on center of the application" might be a
> good place to start looking into this for now.

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).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201102/26f6c122/attachment.htm>


More information about the Libreoffice-bugs mailing list