Bug 493316

Summary: xfig merges system X resources overriding user set X resources
Product: [Fedora] Fedora Reporter: Ian Dall <ian>
Component: xfigAssignee: Stepan Kasal <kasal>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: hdegoede, kasal, pertusus
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 3.2.5-19.a.fc10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-27 21:38:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ian Dall 2009-04-01 12:03:30 UTC
Description of problem:
Even if a user has the resource Fig.inches set to false, 
when the user runs /usr/bin/xfig, the Fig.inches resource will be set to true.

Version-Release number of selected component (if applicable):
xfig-3.2.5-17

How reproducible:
Always

Steps to Reproduce:
1.echo Fig.inches:false | xrdb -merge
2.appres Fig | grep inches
3./usr/bin/xfig
4.appres Fig | grep inches
  
Actual results:

Fig.inches:	false
Fig.inches:	true


Expected results:
Fig.inches:	false
Fig.inches:	false


Additional info:

/usr/bin/xfig is a wrapper shell script which merges /usr/share/X11/app-defaults/Fig-color.

Doing this every time Xfig is run is quite the wrong thing to do as it overrides user preferences, and not just for that run, but changes the resourc e in the server for every other run, even if started without the help of the wrapper script. If xfig-Xaw3d needs different default resources than xfig-plain, then it should have a different resource class.

Comment 1 Fedora Update System 2009-04-01 15:16:19 UTC
xfig-3.2.5-18.a.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/xfig-3.2.5-18.a.fc10

Comment 2 Hans de Goede 2009-04-01 15:20:30 UTC
Hi,

I had already rebased xfig to 3.2.5a (the a is new) in rawhide, which fixes this
amongst other things. I've just made an update to this version for F-10:
xfig-3.2.5-18.a.fc10

Please give this a spin, and preferably some thorough testing.

Comment 3 Fedora Update System 2009-04-02 17:18:05 UTC
xfig-3.2.5-18.a.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update xfig'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-3242

Comment 4 Fedora Update System 2009-04-08 16:12:45 UTC
xfig-3.2.5-19.a.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/xfig-3.2.5-19.a.fc10

Comment 5 Fedora Update System 2009-04-09 16:08:55 UTC
xfig-3.2.5-19.a.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update xfig'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-3440

Comment 6 Fedora Update System 2009-04-27 21:38:17 UTC
xfig-3.2.5-19.a.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.