Winetricks / winezeug

Miscellaneous scripts/projects that are useful for wine developers, but don't belong upstream
11 stars 3 forks source link

wisotool2: Quiet option still pops zenity "working around Wine bug" messages #205

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If you run wisotool2 -q  without a specific command, you'll get the gui to 
select things.  I would expect this to run those quietly and automatically -- 
and it does, sort of.  Except the warn function is coded to give warnings based 
on the gui that was run without testing for quietness, so you periodically get 
interrupted with workaround messages.

Possible fixes:
Test for quiet in working around wine bug function before the warn call
Test for quiet in the warn function in general (could have unintended effects 
for legitimate warnings)
Refuse to run gui in quiet mode (probably bad as unattended would be a good 
option to expose in the UI anyway)

Attached is a patch for the first option.

Original issue reported on code.google.com by YokoZar on 30 Nov 2010 at 6:13

Attachments:

GoogleCodeExporter commented 9 years ago
I've reduced the number of popups by putting a description of the
fix right in the initial workaround warning.

I've also added a short timeout to w_warn in unattended mode. 
I think together these are enough of a fix.

Try http://winetricks.googlecode.com/svn/trunk/src/winetricks-alpha

Original comment by daniel.r...@gmail.com on 6 Mar 2011 at 2:55