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

[Feature request] Only allow one instance of QTerminal dropdown per session #1059

Closed
isf63 opened this issue Jul 5, 2023 · 2 comments
Closed

Comments

@isf63
Copy link
Contributor

isf63 commented Jul 5, 2023

Is your feature request related to a problem? Please describe.
It is currently possible to run multiple instances of QTerminal dropdown on the same session. This leads to unanticipated behavior.

Describe the solution you'd like
qterminal --drop does nothing when already running a dropdown instance, per X11/Wayland session. If none is running, it works as existing.

Describe eventual alternatives you've considered
Same, but show/focus the dropdown when an instance is already running.

Context
Extra instances of qterminal --drop in the same session are inaccessible, and only able to be exited via ending the PID.

EDIT: Other relevant flags to handle are --execute, --profile, --workdir. Those should only apply to a new instance.

@yan12125
Copy link
Member

yan12125 commented Jul 9, 2023

There are also discussions about single-instance mode for the dropdown terminal at #1028. Probably two birds can be killed with one stone.

@tsujan
Copy link
Member

tsujan commented May 24, 2024

Done in #1131.

@tsujan tsujan closed this as completed May 24, 2024
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

3 participants