EasyEffects Version
8.1.6
What package are you using?
Arch (easyeffects)
Distribution
Arch Linux
Describe the bug
If one user has launched Easy Effects, running easyeffects as another user fails to launch it, outputting QIODevice::write (QLocalSocket): device not open. easyeffects --debug does the same thing. PipeWire is used almost as it is packaged, without much extra configuration.
Expected Behavior
The other user should be able to open Easy Effects.
Debug Log
No response
Additional Information
@cameron-thomson in #4928 found that this happens because Easy Effects uses a single lockfile in QStandardPaths::TempLocation and suggested using QStandardPaths::RuntimeLocation as the location. The other users would not be able to see the lock file then, which may break something in multi-user PipeWire setups like discussed here.
I don't know the internals of PipeWire. Which resource(s) is being locked here? Is it the server itself? I believe the directory can stay as /tmp, but the name of the lockfile should be derived from that resource, whatever it is.
EasyEffects Version
8.1.6
What package are you using?
Arch (easyeffects)
Distribution
Arch Linux
Describe the bug
If one user has launched Easy Effects, running
easyeffectsas another user fails to launch it, outputtingQIODevice::write (QLocalSocket): device not open.easyeffects --debugdoes the same thing. PipeWire is used almost as it is packaged, without much extra configuration.Expected Behavior
The other user should be able to open Easy Effects.
Debug Log
No response
Additional Information
@cameron-thomson in #4928 found that this happens because Easy Effects uses a single lockfile in
QStandardPaths::TempLocationand suggested usingQStandardPaths::RuntimeLocationas the location. The other users would not be able to see the lock file then, which may break something in multi-user PipeWire setups like discussed here.I don't know the internals of PipeWire. Which resource(s) is being locked here? Is it the server itself? I believe the directory can stay as /tmp, but the name of the lockfile should be derived from that resource, whatever it is.