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

Having issue with pipelight #4

Closed
maz-1 opened this issue Nov 3, 2015 · 3 comments
Closed

Having issue with pipelight #4

maz-1 opened this issue Nov 3, 2015 · 3 comments

Comments

@maz-1
Copy link

maz-1 commented Nov 3, 2015

pipelight use zenity to show a progress window when installing plugins
however qarma does not work right with it. The progress window keep forever and plugin installer won't finish
the command from ps -ef:
zenity --progress --title=Please wait, installing ... --text=Running wine-unity3d-installer --pulsate --width=400 --auto-close --no-cancel

@luebking
Copy link
Owner

luebking commented Nov 3, 2015

Actually, that's exactly what the commandline says.
--pulsate is an infinite progress (the indicator just slides back and forth) and --auto-close doesn't seem to make much sense in this regard.

If you run that command with zenity, you'll simply get an infinitely running zenity dialog, so the problem will be how pipelight (or whatever ulltimately invokes it) attempts to close the dialog.

I guess you're symlinking qarma to zenity? What if you copy it there instead?

@maz-1
Copy link
Author

maz-1 commented Nov 4, 2015

no , copy qarma to zenity won't work
by the way ,this is what I found in the installer script

progressbar()
{
WINDOWID="" zenity --progress --title="$1" --text="$2" --pulsate --width=400 --auto-close --no-cancel ||
WINDOWID="" zenity --progress --title="$1" --text="$2" --pulsate --width=400 --auto-close
}

DISPLAY="" "$WINE" wineboot.exe 2>&1 | progressbar "Please wait..." "Creating wine prefix"

So when the input stream ends up , the dialog box is expected to exit.
This should be the problem, qarma doesn't work in this way.

@maz-1
Copy link
Author

maz-1 commented Nov 4, 2015

I tried
sleep 5 | qarma --progress --pulsate --auto-close --no-cancel
and
sleep 5 | zenity --progress --pulsate --auto-close --no-cancel

zenity exits, qarma won't.

luebking added a commit that referenced this issue Nov 4, 2015
stall & show ok button if not autoclosing, don't
read input if pulsating

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

No branches or pull requests

2 participants