bugpyFormex - Bugs: bug #38225, save preference button of the GUI...

 
 

bug #38225: save preference button of the GUI settings does not save canvas changes

Submitted by:  francesco <francio>
Submitted on:  Fri 01 Feb 2013 03:41:58 PM UTC  
 
Category: GUISeverity: 3 - Normal
Item Group: Functionality errorStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 21 May 2014 05:01:05 PM UTC, comment #3:

This was an old post. The problem was fixed in a previous pyformex verion. Though there are newer problems related to background preferences (see bug #42397).
Closing the post.

francesco <francio>
Project Member
Fri 01 Feb 2013 08:22:33 PM UTC, comment #2:

In commit 6465600 an option has been added to save the background settings.

Benedict Verhegghe <bverheg>
Project Administrator
Fri 01 Feb 2013 06:12:15 PM UTC, comment #1:

The background settings done through the viewport menu are local to the viewport and not part of the user configuration.

Currently, setting/saving the canvas configuration parameters through the settings menu is disabled. You can however set change your settings by editing the user configuration file (usually ~/.pyformex/pyformexrc). Add a section like the following:

[canvas]
bgcolor = 'red'

You can also specify a list of colors (max 4).
Example for a vertical gradient:

bgcolor = [ 'red', 'red', 'green', 'green' ]

For a horizontal gradient:

bgcolor = [ 'red', 'green', 'green', 'red' ]

An alternative to changing the user configuration is to add a line to your ~/.pyformex/startup.py:

bgcolor('red')

This is not the prefered way though, becasue you will not be able to change it through the GUI once the background settings menu is restored.

Benedict Verhegghe <bverheg>
Project Administrator
Fri 01 Feb 2013 03:41:58 PM UTC, original submission:

If you try eg to set differnt background color , it will not save it

francesco <francio>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bverheg (Posted a comment)
  • -unavailable- added by francio (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 21 May 2014 05:01:05 PM UTCfrancioStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1