Red Hat Bugzilla – Bug 167374
xscreensaver-demo generates bad option for squiral
Last modified: 2007-11-30 17:11:12 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050720 Fedora/1.0.6-1.1.fc4 Firefox/1.0.6
Description of problem:
The graphical config tool, when configuring the "squiral" screensaver, presents a slider widget for choosing "Density". Moving this slider causes the tool to create a "-density" command-line option for squiral, but no such option is recognized by squiral. Squiral won't run again until you remove that command-line option using the Advanced mode.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start xscreensaver-demo (Desktop->Preferences->Screensaver)
2. Select Squiral from the list of screensavers
3. Click Settings under the preview window
4. Find the slider labeled "Density" (Sparse <--> Dense)
5. Move it one way or the other
6. Click OK.
Actual Results: Naive version: Preview window showed "No preview available", and clicking Preview showed a black screen.
Enlightened version: a "-density" option was added to the command line by the GUI tool.
Expected Results: Naive version: Preview should show squiral in operation, with the squiralies packed all dense and stuff.
Enlightened version: The GUI shouldn't generate a -density option, though I'm at a loss as to what "Density" is supposed to mean w.r.t. the actual available options. It would also be nice if squiral would just ignore invalid options and drive on.
There is a general lack of correlation between the parameters on the GUI and the command-line params for squiral. I can't tell which things map to which without futzing with the GUI and then checking the command-line to see what it generates.
Created attachment 118477 [details]
Patch to change -density option
I can easily reproduce this.
From manual file and source file, squiral does not seem
to support -density option, which should be -fill option
( -fill option is supported but not appers on demo ).
I attached a patch against squiral.xml ( which is to be
installed in /usr/share/xscreensaver/config/ ) to fix
Should be fixed in tomorrow's Rawhide.
*** Bug 167373 has been marked as a duplicate of this bug. ***