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

 
 

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

Submitter:  francesco <francio>
Submitted:  Fri 01 Feb 2013 03:41:58 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Item Group:  Functionality error Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group 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>
Group 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>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-05-21 francio StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code