Application window geometry specifier

Igor Korot ikorot01 at gmail.com
Tue Jan 12 14:16:45 EST 2021


Hi, Grant,

On Tue, Jan 12, 2021 at 12:47 PM Grant Edwards
<grant.b.edwards at gmail.com> wrote:
>
> On 2021-01-12, Rich Shepard <rshepard at appl-ecosys.com> wrote:
> > On Tue, 12 Jan 2021, Igor Korot wrote:
> >
> >> Keep in mind that if you target Linux, the "modern" window server
> >> (Wayland) will not allow user code to decide the positioning and size of
> >> the TLW.
> >
> > Igor,
> >
> > I suspect that Slackware will continue with X11.
>
> And those X11 users will swear at you if you override their window
> managers configured window placement. Application code should not care
> about or try to control window geometry. Period.

I have a very strong argument against it!!

Imagine you are developing an application that need to communicate
with the database.
Also imagine this application will be used by millions of users inside
different companies.

SInce the application will require DB access you will need a dialog to
ask for credentials.

I, personally, would be very surprised if such dialog would appear
somewhere at the bottom of the screen,
as dialogs ARE TLWs (top level windows).

Wouldn't you?

So why I somewhat agree with such a notion - it is not always a useful feature.
Also, such an algorithm better allow me to save and restore the
geometry of the TLW.

Thank you.

>
> --
> Grant
>
>
>
>
>
> --
> https://mail.python.org/mailman/listinfo/python-list


More information about the Python-list mailing list