Skip to content
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

New window option when right clicking on dock icon #2278

Open
devgocri opened this issue Jul 8, 2023 · 6 comments
Open

New window option when right clicking on dock icon #2278

devgocri opened this issue Jul 8, 2023 · 6 comments

Comments

@devgocri
Copy link

devgocri commented Jul 8, 2023

Hey there, window support is working great so far! Just a suggestion, it would be nice to have a "New Window" option in the menu when you right click on dock icon, because currently I have to switch to the new virtual desktop (where I want the second window), right click on the icon, click "New Tab", then switch to the right task, delete the old task that the new window created...

A menu when the new window option is clicked would also be great when opening from dock, maybe a "Which task would you like to open" or something that can be toggled off in settings if need be.

image
@PalmerAL
Copy link
Collaborator

PalmerAL commented Jul 8, 2023

Thanks! Good point; I honestly just forgot to update the dock menu since I don't use it very often.

I wonder if we should just list the tasks directly in the dock menu? I'm not sure how I would expect that to work though - whether it would switch to the selected task in the current window or open a new one. Thoughts?

@devgocri
Copy link
Author

devgocri commented Jul 9, 2023

Hm... if the tasks would be listed in the dock menu I'd usually assume it would open in a new window, as switching tasks in current window is quite easy to do/faster through the browser window, and there would be no point in someone going to the dock to do it.

Listing the tasks in the dock might lead to an excessively large dock menu though if the user has a lot of tasks - it might be a pain to find what you want/navigating through a huge list...

Maybe a better idea would be to have a "New Window" option in the dock, and then automatically opening the task list in the new window that you would usually access using the icon on the top right. That would then allow the user to select which task they want or they can create a new task without having to clutter their dock menu.

@devgocri
Copy link
Author

devgocri commented Jul 9, 2023

Maybe a better idea would be to have a "New Window" option in the dock, and then automatically opening the task list in the new window that you would usually access using the icon on the top right.

Here's what this might look like: (I use the menu bar here but you should be able to do this through the dock)

It would be cool if this didn't create a new task.

0001-0353.mp4

@MohitBansal321
Copy link
Contributor

@PalmerAL
I guess its already added now time for close this issue?

@kepler-69c
Copy link

Could someone confirm that the feature also works on Windows and Linux?

@Sadi58
Copy link

Sadi58 commented Apr 12, 2024

Unfortunately, it doesn't work under Debian 13 Trixie/testing with KDE Plasma 5.27.
AFAIK, for this, the file min.desktop should contain a line like Actions=new-window; followed by a section like this:

[Desktop Action new-window]
Name=Open New Window
Exec=/opt/Min/min --new-window %U
Icon=min

IMHO it would be great if the Min Browser could include at least some of the keyboard shortcuts like "New Window (Ctrl+Shift+N)" as command line parameters as well, possibly listed with the terminal command min --help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants