After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 619087 - The {main_window,viewer}_{x,y} keys have no default
The {main_window,viewer}_{x,y} keys have no default
Status: RESOLVED FIXED
Product: f-spot
Classification: Other
Component: General
0.6.2
Other Linux
: Normal minor
: 0.7.0
Assigned To: F-spot maintainers
F-spot maintainers
: 619794 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-05-19 14:08 UTC by Iain Lane
Modified: 2010-05-27 10:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Iain Lane 2010-05-19 14:08:56 UTC
Hi,

When installing my new f-spot package for Debian:

Setting up f-spot (0.6.2-1) ...
WARNING: Failed to parse default value `' for schema (/schemas/desktop/gnome/f-spot/ui/main_window_x)
WARNING: Failed to parse default value `' for schema (/schemas/desktop/gnome/f-spot/ui/main_window_y)
WARNING: Failed to parse default value `' for schema (/schemas/desktop/gnome/f-spot/ui/viewer_x)
WARNING: Failed to parse default value `' for schema (/schemas/desktop/gnome/f-spot/ui/viewer_y)

This is because the defaults are empty, which doesn't seem to be encouraged. We should come up with some good defaults.

Cheers,
Iain
Comment 1 Ruben Vermeersch 2010-05-20 23:00:36 UTC
Should be easy to fix: look in Preferences.cs for the default value of this key (if any, otherwise choose a decent default) and add it to the f-spot.schemas file.
Comment 2 Ruben Vermeersch 2010-05-25 13:09:53 UTC
Apparently the default tag is optional, which is even better. Patch merged to master:

commit bcf007de4233101f89eec0d6d5d2ba4cdac46d1d
Author: Christian Krause <chkr@plauener.de>
Date:   Mon May 24 19:32:32 2010 +0200

    remove empty default tags from schemas file
    
    - gconftool-2 complains about empty default tags in f-spot.schemas
    for entries of the type integer
    - this patch removes these empty default tags of all integer entries
Comment 3 Ruben Vermeersch 2010-05-27 10:40:43 UTC
*** Bug 619794 has been marked as a duplicate of this bug. ***