-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make AddNewTorrentDialog modal on macOS. Closes #3022 #6206
Conversation
Does this mean that |
Yes. |
Shouldn't you report this as a bug to Qt then? Documentation for |
hmmm, since the dialog is modal, using |
Maybe it would be better to make them non-modal (#6194)? |
Not directly reviewing this particular PR but in the past I semi-investigated this. I am not expert on macOS neither do I have a dedicated machine. I think this is a peculiarity of macOS itself. Non-modal dialogs are called "drawers" IIRC. And visually, when they are painted/opened they start opening like a drawer(think drawer for clothes) from the title bar. When you open a new drawer, while the old one is still open, you can't click on anything. Neither the old drawer, nor the new one. It's as if something invisible prevents you from clicking on those windows. |
(and similar suggestions). Ideally, I think we need a redesign of that dialog, a redesign of the workflow. Currently opening multiple torrents simultaneously produces poor results in terms of usability and user experience. A new approach would be to aggregate all the opened torrents in the same dialog-window, allowing users to select between them(like previous/next buttons) and having an option to "OK to all". |
Ah, now I am starting to see the problem. I see other macOS applications open ordinary non-modal dialogs. |
Hi… Actually I ran into this issue the day before, and wanted to check the code later. Now I am mentioned in the pull request that was added in winter, sigh, and unfortunately still not merged due to some level of misunderstanding. Let me try to clarify. File add confirmation window type entirely depends on the application logic. If you check different apps, you will see that different types of windows appear when you drag and drop a file, e.g.: Xcode, Photoshop, Transmission, Hopper. Each application decides on its own whether it needs to have a modal file addition window, or just a popup. I would say that the general idea for the macOS interface is to use modal windows when the main window represents the file you add. Also, window type is not really dependent on the amount of files added, file addition windows could be consolidated into one like in Xcode, but may actually not be. I am not an expert, but this is the experience I have:
To sum it up, the suggestion to replace the modal window with a non-modal one is entirely valid, especially since it fixes a bug. Multiple file addition window consolidation is called a usability feature, that might be a good idea to add, but it has nothing to do with app logic and a bug you have. I will rebase this and include it in my PR to get all the right things together. -UPD- |
Fixed in #6952. Will be available with v3.4.0 |
I don't know why, but a modeless dialog box does not work on macOS here.