sublimehq / sublime_text

Issue tracker for Sublime Text
https://www.sublimetext.com
809 stars 39 forks source link

Wrong modal window order #5192

Open KES777 opened 2 years ago

KES777 commented 2 years ago

Description of the bug

When multiple modal windows are opened ,then active window is under inactive.

Steps to reproduce

subl --safe-mode

Expected behavior

Active window should be on top

Actual behavior

Active window is under inactive

Sublime Text build number

4124

Operating system & version

Linux Mint v20.2

(Linux) Desktop environment and/or window manager

Cinnamon

Additional information

https://user-images.githubusercontent.com/799021/149317612-639bfc59-ed86-446c-8a70-ba31ab52a7e5.mp4

OpenGL context information

No response

KES777 commented 2 years ago

Here is flood of modal dialogs in wrong order. How to reproduce: open readonly file, enable save on lost focus, make change to view

https://user-images.githubusercontent.com/799021/165148115-c5325ff5-0176-4336-8dad-e6372caf474f.mp4