Wednesday, December 22, 2010

GNOME Outreach Program for Women report - Week 1

This past week and a half I started coding for GOPW. I started with some bug-fixing as a way to "warm up". :)

So far, 8 commits:

AgeCommit messageFilesLines
4 min.Start monitoring storage folders if they exist when cheese starts, and a fix for bug 637798 commit.2-2/+8
29 hoursBurst mode session can be cancelled with a "Stop taking pictures" button. Fixes bug 6377981-47/+42
2 daysButton area does not get hidden after returning from fullscreen mode.1-0/+3
2 daysStart "Save as" dialog in home folder1-0/+1
4 daysCheck if each Webcam directory exists before filling thumb view1-22/+28
5 daysDon't create Webcam dirs (in Pictures and Video user dirs) unless there is content to put on it, fixes bug 5630585-27/+51
6 daysCommand line options for starting in wide and fullscreen modes, fixes bug 5978202-5/+49
14 daysAll ui buttons now have tooltips, fixes bug #6229743-2/+14

Daniel Siegel and me were chatting a lot during all this, discussing ideas and options for the bug fixes.

After this, the plan is to finish the feature for selecting video and photo resolution separately, and then start with the sharing features. We want to upload pictures to picasaweb, facebook, etc. Other option is for me to play with overlays, I would like to get any animated gif and put it over the video, that would be fun, especially when cheese can be used as a video chat app. We'll see, this last idea is for the distant future anyway.


diego said...

Yey! thanks for fixing

Mikel said...

Just my 2 cents:

- Wouldn't be better to use XDG dirs instead of Home to save files?

- Isn't 775 too permissive? 755 or 750 would be better IMHO

Anonymous said...

Nice work! I like the idea of starting out with GOPW/GSoC by fixing some bugs, I wish more people did that. :-)

Sheva said...

good job gal!!

Lowest Unique Bid
Online Penny Auctions

Aussie Danny said...

Hey there, cool... looking forward to play with these fixes :)
Are you planning to write a post about where are you coming from programming-wise?

L. said...

@diego: heyy, thanks, feels good when our work is appreciated :D

@Mikel: Let's see, there are two file types we can "save as" in cheese, pictures and videos. Pictures are in the XDG Pictures folder inside "Webcam" folder. Videos are in the XDG Videos folder inside "Webcam" folder. If the user wants to save any of those files to other location/filename by right clicking on them and selecting "save as", makes sense to open the "save as" file dialog in home folder to let them choose where they want to save it, there is not much difference between that and starting the "save as" dialog in XDG Pictures folder if saving a picture, and in XDG Videos folder if saving a video. It could be less confusing to start the dialog always in home folder instead of changing the location by file type. Other option would be to remember the last location used. We'll see :)

L. said...

@Mikel: about folder permissions, thanks for the tip! Currently I'm seeing that the Webcam folders have drwxr-xr-x permissions after creation no matter what value I use in g_mkdir_with_parents, (and the files inside have -rw-r--r-- permissions). Files don't inherit folder permissions, but why is the folder always created with that permissions? I don't know yet.

@Sheva: thanks! um.. spambot?

@Aussie Danny: Maybe, why not? Will think about how I can speak about it and what could be interesting.Thanks!