[issue42685] Improve placing of simple query windows.

2020-12-25 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42685] Improve placing of simple query windows.

2020-12-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset c6c43b28746b0642cc3c49dd8138b896bed3028f by Serhiy Storchaka in branch 'master': bpo-42685: Improve placing of simple query windows. (GH-23856) https://github.com/python/cpython/commit/c6c43b28746b0642cc3c49dd8138b896bed3028f --

[issue42685] Improve placing of simple query windows.

2020-12-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: I took a look at the somewhat messy popup placement in IDLE. The query.Query subclasses are centered over their parent. Some others are over the window but up and to the left. Maybe they have a custom geometry setting that I should delete. Search and

[issue42685] Improve placing of simple query windows.

2020-12-19 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +22721 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23856 ___ Python tracker

[issue42685] Improve placing of simple query windows.

2020-12-19 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Currently simple query windows in Tkinter (such as tkinter.simpledialog.askinteger()) are placed at position 50 pixels right and 50 pixels below of the top left corner of the parent widget (even if it is not visible). If the parent is not specified, the