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
[Linux] Fix opening files in external apps #1954
[Linux] Fix opening files in external apps #1954
Conversation
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please consider removing IndirectOpen
and isSandbox
as they are not used anywhere with your current changes.
The code looks good. This still needs testing as I was never able to reproduce the actual issue.
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
67f9944
to
a8220cd
Compare
Why the removal of IndirectOpen? What reason did it exist for - did it fix anything - and will removing it make more bugs present? Or was there something which stopped it working properly which can be changed? |
I am not quite sure myself. But I wouldn't be surprised if MultiMC's issues stemmed from its ancient Qt version. |
Just in advance:
Yes think so. It fixed the self reported bug at issue 1389 LD_LIBRARY_PATH set for MultiMC leaks to other processes](MultiMC/Launcher#1389)
I didn't find any while testing it see last uploaded video at issue #1490 On my end @Scrumplex branch works I hope this could help at leased a little bit |
Sorry! I probably could have figured this out if I put in more effort. I assumed Scrumplex knew though. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am pretty sure this will reintroduce the bugs which the IndirectOpen impl was meant to fix :/
But no other Qt app I know uses IndirectOpen or something similar. This really seems like a legacy workaround that is not relevant nowadays |
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
I will approve if you fix the thing I mentioned - or you do not see it to be necessary! |
I was working on it ^^ |
It still doesn't work in flatpak though :( |
Do you have any other Qt (5) apps in Flatpak to compare? |
There are many qt5 apps which can open files but I don't have any that needs to open folders. |
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Maybe related to: #993 |
Successfully created backport PR for |
Closes #1490
How to test