Bug 1320 : Processing 1.0.7 losing some preferences settings
Last modified: 2009-10-19 04:26




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P2
Severity:
normal

 

Reporter:
ajstarks
Assigned To:
fry

Attachment Type Created Size Actions
Proper behavior on 1.0.6 image/png 2009-09-05 08:47 76.04 KB
1.0.7 Font Display demonstrating font changes image/png 2009-09-05 08:53 46.52 KB
update preferences table even if key is already present patch 2009-09-23 19:51 849 bytes

Description:   Opened: 2009-09-05 08:09
on Mac OS X 10.6, Previously set font preferences:

editor.antialias
editor.font

are reset. When manually edited (after quitting Processing), the changes are reset to:

editor.font=Monaco,plain,10
editor.antialias=false

(I note that other manual edits to the preference file (such as apple.laf.useScreenMenuBar
work fine)
Additional Comment #1 From fry 2009-09-05 08:35
Hm, have you been running 1.0.6? This may be a regression caused by recent
changes, but they were made between 1.0.5 and 1.0.6 instead of 1.0.6 and 1.0.7.
Additional Comment #2 From ajstarks 2009-09-05 08:47
edit]
Proper behavior on 1.0.6

screen shot of 1.0.6 font and antialias behavior
Additional Comment #3 From ajstarks 2009-09-05 08:53
edit]
1.0.7 Font Display demonstrating font changes

This screenshot shows the behavior with 1.0.7 (compare with previous attachment
of 1.0.6 behavior).
Additional Comment #4 From Greger 2009-09-13 12:28
This could be related to the preferences-problem I described in my
submitted bug here:
http://dev.processing.org/bugs/show_bug.cgi?id=1325
Additional Comment #5 From fry 2009-09-14 09:29
*** Bug 1322 has been marked as a duplicate of this bug. ***
Additional Comment #6 From fry 2009-09-14 09:30
*** Bug 1325 has been marked as a duplicate of this bug. ***
Additional Comment #7 From fry 2009-09-16 04:29
*** Bug 1329 has been marked as a duplicate of this bug. ***
Additional Comment #8 From tobi 2009-09-17 08:57
On my machine (OS X 10.6.1, Java 1.6 64bit, P5 1.0.7) neither settings for external editor nor
for the recent sketch will be saved, even if set in the preferences panel accessible from the
Processing menu.

Everytime I start Processing.app I need to reopen the recent sketch and set the external editor
flag again.
Additional Comment #9 From mellis 2009-09-23 19:51
edit]
update preferences table even if key is already present

This patch causes load() to write to the preferences table even if the key is
already present. Without it, the default preferences (in the preferences.txt
that ships with Processing) will never be overwritten by the updated versions
in the user's preferences.txt. It means that the OS-specific preferences need
to follow (not precede) their generic equivalents. But the OS equivalents are
only in the default preferences file (not the user one), right? So it's just
something for the developers to remember.
Additional Comment #10 From fry 2009-09-24 06:03
*** Bug 1336 has been marked as a duplicate of this bug. ***
Additional Comment #11 From fry 2009-09-25 02:09
*** Bug 1337 has been marked as a duplicate of this bug. ***
Additional Comment #12 From fry 2009-10-07 10:10
*** Bug 1344 has been marked as a duplicate of this bug. ***
Additional Comment #13 From fry 2009-10-18 08:47
fixed for 1.0.8 (reverted to previous version of Preferences.java).
Additional Comment #14 From ajstarks 2009-10-19 04:26
> fixed for 1.0.8 (reverted to previous version of Preferences.java).
>
>

Very happy for the fix. Many thanks!