[KPhotoAlbum] [PATCH 2/3] SettingsData: Default window geometry calculated
Henner Zeller
h.zeller at acm.org
Tue Sep 23 21:12:28 BST 2008
HI,
On Tue, Sep 23, 2008 at 6:54 PM, Michael Witten <mfwitten at mit.edu> wrote:
>
> On 23 Sep 2008, at 9:15 AM, Michael Witten wrote:
>
>>> On 23 Sep 2008, at 11:19 AM, Henner Zeller wrote:
>>>
>>
>>> I'd probably suggest to do this calculation only on
>>> platforms that don't have a decent window manager (I
>>> always hate if the applications override the decent
>>> placement my window manager suggests).
>>>
>>
>> Perhaps we can use (0,0) when Q_WS_X11 is defined (is
>> that an official macro?). However, does (0,0) really
>> provide a window in a decent location for X11 systems?
>> Is that a standard? Wouldn't it be better to give a more
>> specific hint?
>
> What exactly is the behavior of using (0,0) on your system?
> What makes it preferable to providing a more direct hint?
Ok, I tried it. It will actually place the window at the top corner
(below the KDE panel). So having something that does some kind of
centering by default is probably ok.
>
> The code I've written simply provides an educated guess at
> a good default; the window manager would still choose, I
> assume.
>
> In short, I don't see the point of using (0,0) and Q_WS_X11.
>
More information about the Kphotoalbum
mailing list