-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
Auto disown when opening in gui #108
Comments
You can use |
@aflyingpumpkin let me know if ^ this works. |
|
Should solve. I can't can test it now because my window manager will autoresize the screen which causes the refresh automatically. |
|
My window manager (dwm) also resizes the window upon closing the GUI. But I believe the GUI the process is not completely terminated when the window resizes which causes the buggy visuals. Also, I am locked out of xplr when the gui is open. |
Have you tried other terminals? |
Just tried in Alacritty and the issue still persists. |
Which application are you trying to open? |
If I run |
Just FYI this command is being executed. |
This might solve the issue but need to test it. @aflyingpumpkin can you try overwriting the command? |
|
And |
|
Hmm... not sure how to workaround this without a proper testing environment. @aflyingpumpkin if possible, can you pls create a PR? |
What is a PR? |
A pull request with the fix. No problem, I can do this. |
Just found out that the random text was due to me accidentally putting: |
Ah ok.. Unfortunately the |
Nope, that was my fault. I used |
I found an issue with the |
Weird... Not in my WM... |
I'll setup a test VM with dwm when I get some time. Meanwhile, @aflyingpumpkin you can experiment with different command combinations and let me know if you find anything that works. |
Although if it's too hacky, we'll probably need to report the issue to DWM maintainers. |
I got a ping on the (now closed) PR, to be honest I can't reproduce the issue on latest |
What's your My solution was to simply create an executable script called #!/bin/sh
gio open "$@" Maybe worth a try for you too? Do this, open new terminal, double check that |
I am using xdg-open, after doing a force alias the bug still persists. |
I think it may be a problem with disown. Currently only having the & symbol is needed, and |
@aflyingpumpkin I was using plain |
I saw, even when I use what was put in the pull request the issue still exists. |
Maybe it's WM specific bug? Need to test it on different window managers. So far as we know, KDE + KWin -> Working |
I have tried stock i3 and it appears to be broken. |
I wish I had more users in our discord channel, then I could just ping users to |
Just tried kwin with alacritty and kitty and I am still running into the issue. I also tried switching to zsh and I am still running into the issue. |
Wow, then it seems more like a platform issue? Which OS are you using? |
I use arch btw |
And maybe shell? |
I tried on both zsh and bash. |
Very strange. I'm out of ideas. Can you record a video? I think GitHub allows posting video files. |
No, I deleted the message because the aspect ratio was messed up. |
@aflyingpumpkin you can maybe also capture a GIF using https://github.com/phw/peek. Preferably the KDE-Kwin one. |
Runs on VLC |
It the video |
The first example where they both closed at the same time was when I left xplr open and closed the terminal. The second example when the document stayed open was due to the fact that I fist closed xplr then closed the terminal. |
Ah okay, so that's what you meant. |
Yes I can reproduce this. I don't think you're supposed to close the terminal before quitting |
The document will stay open. You close it separately. It's the expected behavior I guess. |
Or, if you want to open multiple documents, you can do so, but you need to close them manually and quit |
You can probably achieve what you want to, using |
Alright, thanks |
@aflyingpumpkin v0.9.1 probably fixed the issue in a way you wanted. You can close the terminal after opening apps in GUI, without closing them. |
Great! |
Upon opening an application in gui the current terminal window is still linked to the gui. Meaning that I cannot close it without it closing the GUI. I am also locked out of the current xplr session. Meaning I cannot browse other files after opening a single file. Upon closing the GUI application the GUI for xplr becomes messed up. (view attached image.)
![image](https://user-images.githubusercontent.com/49350251/116119066-fff76380-a68b-11eb-89a3-a765ecd24756.png)
The text was updated successfully, but these errors were encountered: