[Commits] [SCM] claws branch, master, updated. 3.13.2-160-gcb67730

Paweł Pękala c0rn at o2.pl
Sat Jul 2 18:50:58 CEST 2016

Dnia 2016-07-02, o godz. 18:27:07
Andrej Kacian <andrej at kacian.sk> napisał(a):

>On Sat,  2 Jul 2016 18:14:46 +0200 (CEST)
>pawel at claws-mail.org wrote:
>> - Log
>> -----------------------------------------------------------------
>> commit cb67730a260a491ae380fd928d8ca673200972b0 Author: Pawel Pekala
>> <c0rn at o2.pl> Date:   Sat Jul 2 18:05:14 2016 +0200
>>     Place dialogs on center of main window. Most window managers
>> place these dialogs in some weird positions making interacting with
>>     them unwieldy. Windows is biggest offender here putting things
>>     around left top corner of the screen.  
>After reading the relevant part of GTK documentation, I don't think
>GTK_WIN_POS_CENTER_ALWAYS is what you want here.
>GTK_WIN_POS_CENTER_ON_PARENT seems like a better fit, if you insist on
>going against what window managers do.

Agreed. Committed wrong patch.

>IMHO, window placement is a job for the window manager, and if you're
>using a good one, you won't have any "unwieldy interacting". I also
>didn't observe any issue with this on Windows.

Window managers don't have any metadata about window, for them it's
just coordinates and size, only application know real context. And what
if you switch between different DE's? 
I'm unfortunate to use WinXp and things are bad there, yes I know it's
old and shouldn't be used anymore, not my call.

pozdrawiam / with regards
Paweł Pękala

More information about the Commits mailing list