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 380958 - make the shown information of a picture configurable
make the shown information of a picture configurable
Status: RESOLVED FIXED
Product: f-spot
Classification: Other
Component: Metadata
0.3.0
Other All
: Normal enhancement
: ---
Assigned To: F-spot maintainers
F-spot maintainers
Depends on:
Blocks:
 
 
Reported: 2006-11-30 16:52 UTC by Mike Gemünde
Modified: 2008-09-28 15:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (rev 3708) (22.33 KB, patch)
2008-02-25 22:29 UTC, Mike Gemünde
none Details | Review
screenshot (15.38 KB, image/png)
2008-02-25 22:30 UTC, Mike Gemünde
  Details
patch (rev 3708) (26.64 KB, patch)
2008-02-26 18:24 UTC, Mike Gemünde
none Details | Review
patch (19.80 KB, patch)
2008-08-27 13:53 UTC, Mike Gemünde
needs-work Details | Review
screenshot (17.30 KB, image/png)
2008-08-27 13:56 UTC, Mike Gemünde
  Details
Patch (26.58 KB, patch)
2008-09-21 10:04 UTC, Mike Gemünde
none Details | Review
screenshot (33.28 KB, image/png)
2008-09-21 10:05 UTC, Mike Gemünde
  Details
patch (25.01 KB, patch)
2008-09-21 11:13 UTC, Mike Gemünde
none Details | Review
patch (25.06 KB, patch)
2008-09-27 17:30 UTC, Mike Gemünde
committed Details | Review

Description Mike Gemünde 2006-11-30 16:52:12 UTC
Hi,

at the left-down f-spot shows some information of the selected picture. It would be nice, if the user can configure which exifs-entries are shown there.
Comment 1 Mike Gemünde 2008-02-25 22:29:28 UTC
Created attachment 105938 [details] [review]
patch (rev 3708)

Hi,

I created a patch for this. I added some information to display in the infobox, which are useful for me.
You can choose, what information is displayed under view->photo information

Mike
Comment 2 Mike Gemünde 2008-02-25 22:30:28 UTC
Created attachment 105939 [details]
screenshot

And here is a little screenshot with all information.
Comment 3 Maxxer 2008-02-26 11:07:51 UTC
patch is nice! 
just a trivial note: your added items have a semicolon before the value, while the original labels hasn't. 
and another trivial thing: add Changelog entry.
Comment 4 Mike Gemünde 2008-02-26 18:24:47 UTC
Created attachment 106012 [details] [review]
patch (rev 3708)

ok,

here a new one with changelog and without colon.

I found this bug 332027 and so I made the photo name configurable, too. But it is still displayed by default.

Mike
Comment 5 Mike Gemünde 2008-08-27 13:53:51 UTC
Created attachment 117457 [details] [review]
patch

I reworked the patch for trunk (rev 4300).

To change the shown information, a popup menu is used. There is still an issue, because the popup does not work for the displayed labels.
Comment 6 Mike Gemünde 2008-08-27 13:56:03 UTC
Created attachment 117458 [details]
screenshot

here is a little screenshot.
Comment 7 Ruben Vermeersch 2008-09-15 14:27:39 UTC
Some comments (line numbers refer to line numbers of the diff):
 * Why did you remove the call to UpdateHistogram on line 68?
 * Doesn't apply anymore because of todays changes (sorry for that)
 * There's some style issues on lines 109 -> 111, looks ugly

You'll have to rework it, as INFOBOX_INFO_VISIBLE and INFOBOX_HISTOGRAM_VISIBLE are no longer used. For the rest, I like it and it looks good. So it's almost ready to get it in.

And finally: the issue you mention in comment 5, is it fixable, or shall we just accept and ignore it?
Comment 8 Mike Gemünde 2008-09-15 14:33:50 UTC
Hi,

thx for looking at the path.


1) there was a reason, why it is not needed anymore. But I do not remember now, I will look at the code and tell you the reason later.

2) ok :)

3) This was the soultion from sde, to apply the popup and ignore the labels in the box. I'll try to fix this issue soon.

Comment 9 Mike Gemünde 2008-09-21 10:04:22 UTC
Created attachment 119082 [details] [review]
Patch

I reworked the path to work with trunk.

1) The UpdateHistogram on line 68 from the old patch was removed, because I used the callback Preferences.SettingsChanged to take care about changes. This would cause two updates of the histogram, so this line was removed.
The new patch, doesn't use this callback, because it does not fit to the last changes with the Strategy.

2) The thing with the labels was fixed, I'll post a screenshot right now.
3) A new Problem arised. To fix the popup for all labels I used an EventBox-Widget. But this causes a darker gray box in the overlay of the fullscreen-view. Maybe someone, who is more familar with the tranparency things can look at it. I'll additionally try to fix it.
4) Another question is, who to handle the recently added Tag- and Rating-View in fullscreen? make it also configurale? leave it, as it is? comments are welcome.
Comment 10 Mike Gemünde 2008-09-21 10:05:06 UTC
Created attachment 119083 [details]
screenshot

and here is the proposed screenshot
Comment 11 Mike Gemünde 2008-09-21 11:13:36 UTC
Created attachment 119087 [details] [review]
patch

I uploaded the wrong file. Here is the right one.
Comment 12 Mike Gemünde 2008-09-27 17:30:05 UTC
Created attachment 119488 [details] [review]
patch

The last patch didn't apply with the last changes in InfoBox.cs. So here is an updated version.
Comment 13 Stephane Delcroix 2008-09-28 15:21:29 UTC
committed. Mike, please think about discussing the overlay issue with me on irc one of these days.