6 February, 2013 § Leave a comment
Raymond Heldt wrote up a great, and funny, blog post covering the current progress of the MSU Capstone project to implement Safari-style pinch-to-zoom for desktop Firefox. While working on the project, the students learned that there are similar plans to implement this feature for Firefox on Windows Metro.
The Windows Metro implementation is planning to use off-main-thread compositing and B2G’s AsyncPanZoomController implementation. The students are pushing ahead on their
<canvas> based approach, since OMTC and AsyncZoomPanController are not fully ported to desktop builds.
Below is a snippet of Raymond’s post.
Well, the day started out with another abandon-my-attempt-at-implementing-something-because-it-already-got-it-taken-care-of-without-me moment, but beyond that, I was happy with my contributions today.
A scaling screenshot on pinch-to-zoom has been implemented (no thanks to myself), but for some absolutely insane reason, sometimes that screenshot gets drawn over the webpage’s content, sometimes not (although you can see animation through the “holes” of a webpage where they put advertisement boxes). Michigan State’s website scales fine, mxr.mozilla.org scales fine, Yahoo! sometimes scales fine DEPENDING ON WHICH CURRENT EVENT STORY IS CURRENTLY BEING DISPLAYED!!!, and then there’s websites that don’t hide the content and cover up the animation, like Amazon and Google and our CSE498 page on Michigan State’s website. Weird, I know.
But anyway, back to what I did. Figuring out some algorithms for x- and y- offset, I was able to get zooming relative to the center of the screen (adjusting for scrolling) instead of from the top-left corner. …
18 January, 2013 § Leave a comment
One of the MSU Capstone team members, Brandon Waterloo, wrote up a nice blog post giving an update on the progress of their work implementing some multitouch gestures for desktop Firefox.
The latter half of the past week, as well as most of this week, consisted (will consist) primarily of working on our project plan document and our presentations. On the 23rd, we’ll be giving team status reports, talking about the status of our machines, our project plan document, etc. These will be short, only about five minutes.
Beginning on the 28th, the various capstone teams will begin presenting their project plans. This is mostly just a brief version of the project plan document. This will be about a fifteen minute presentation. I’m slightly concerned that we can’t stretch our material out to fifteen minutes, because our project is pretty simple to explain–touch gestures for Firefox on Mac OS X. There’s not a whole lot more to say, except to explain the specifics of what we’ll be doing.
Read the rest of the blog post at Brandon’s post, “Presentations and Documents and Research, Oh My!”
11 January, 2013 § 3 Comments
This is the first week of a new semester at Michigan State University, and with that brings a new group of students who will be working on a senior capstone project with Mozilla.
This semester the students will be focusing on multitouch gestures within the browser. They’ll start out the semester by fixing a few good-first-bugs, then they’ll move on to adding some gestures to standalone image and video documents. The final step of the project will be to focus on improving our pinch-to-zoom for webpages in Firefox.
As the semester progresses, the students will be blogging their progress on their own blogs (I may crosspost them here from time to time):
Here’s to a great semester!
26 December, 2012 § 14 Comments
As I’ve been researching potential Spring 2013 capstone projects, I’ve been looking in to Firefox’ current OS X integration. This includes what parts need improving as well as are currently missing.
With the help of many people in the Mozilla community, I’ve received lots of feedback as to what could be improved. Below is the list of work needed that I have come across.
[P1] Accepting click events in the titlebar area https://bugzilla.mozilla.org/show_bug.cgi?id=647216 https://bugzilla.mozilla.org/show_bug.cgi?id=625989 Keychain support Lion Scrollbars Edge bounce and overscroll Fullscreen mode improvements (Now that Lion fullscreen has been implemented, what is still needed here? - Jared) Swipe/gesture support is buggy (bug 673675) Dock Download Progress [P2] Lion resume support Auto-fill from Address Book Use the system provided spell checker Text autocorrection Built in word definition panels Investigate potential changes needed if sandboxed Dictation support Integration with Services (control click text selection in any cocoa app for a Services menu) [P3] iCloud support (shared settings? document storage?) Spotlight (Bookmarks and History) Speech (control click text selection in any cocoa app for a Speech menu) Airplay (mirror firefox to your tv) Use system provided geolocation [Untriaged] Applescript support Dragging content to and from Firefox to the OS/other applications within OS X (bug 591713) Double-tap to zoom (bug 688990) Look up gesture (bug 687026, depends on bug 301451) Improve focus ring style for urlbar & search field (bug 689012) Unfocused Firefox window needs dimmed text in tab titles and address bar (bug 688678) View menu item stays highlighted after resubmitting POST-form and pressing Cancel (bug 688412) [10.7] Character repeat on long button presses doesn't work (bug 686113) [10.7] panels with titlebars not receiving mouse clicks (bug 677545) [10.7] Hardware acceleration on: The corners at the bottom have no fade out effect / anti-aliasing (bug 675410) (awaiting QA) [10.7] Firefox 5.0.1 running on Mac OS10.7 returns a Error Code 502 Proxy Error when browsing Web sites (bug 674868) [10.7] Update Firefox Theme for Mac OS X 10.7 Lion (bug 667456) [10.7] Filepicker directory is not remembered (bug 654842) Lion Compatibility Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=636455
Source: UX team Mac OS integration list
Josh Aas proposed that the project focus on improving our multitouch/gesture support in Firefox. What gestures do you know of that could be improved/are missing?
I think multitouch/gesture support will be a good project is because the students should each be able to work on their own gestures, thus making the project parallelizable. As well the project is also not a binary success/failure (assuming the students are able to improve at least one gesture).
3 December, 2012 § 15 Comments
This is the final week for the students working on the Reader Mode project for Firefox. The students will be presenting their final work on Friday to a panel of judges at Michigan State’s Design Day.
Reader mode now mostly works at prototype-level functionality. There is still some more work and lots more testing to do.
The team has asked for help with testing on Windows & Linux, as well as switching tabs. When a tab is switched to, the document is parsed for its readability score. We want to make sure that we don’t regress tab switching times as well as increase memory usage by the introduction of the feature.
I pushed their current patch to our Try servers so you can help test. When it is finished building, they should be available to download and play with here*. After downloading the build, go to
about:config and set reader.enabled=true.
*Update: I have heard from at least one person that the Windows build isn’t working correctly.
Without further ado, here is the team’s project overview video.
The team also is planning on tweaking the size of the toolbar button so it doesn’t stretch the URL bar vertically. This is a subtle bug that you can see in the team’s project video.
Further work for Reader Mode will include moving the in-page adjustments to a toolbar at the top of the page, as well as adding a Sepia color mode.
The team updated the current work-in-progress patch on the meta bug.
13 November, 2012 § 3 Comments
This post was guest authored by Matt Vorce, one of the students working on the reader-mode project.
This past week we continued to finish up some changes to our reader mode page. We are now working on moving some common files to toolkit so they can be referenced by desktop and mobile in the same location.
This will require us to convert the .js files to a .jsm. After doing that we will import the files as a resource.
As far as buttons go for reader mode we are only including the buttons for styling the page for the time being. We are also going to display the reader page in the current tab and not pursue an overlay/lightbox for the time being.
Here is a video of the current functionality (interaction workflow is not final):
The team updated the current work-in-progress patch on the meta bug.
30 October, 2012 § 6 Comments
This post was guest authored by Michael Anderson, one of the students working on the reader-mode project.
This week the team got an alpha version of reader mode working. After the page loads, a button will appear in the toolbar allowing you to open that page in reader mode, which is currently in a new tab.
Going forward, the team has decided to start expanding the functionality of the about reader page. To start we will allow people to change their font, change text size, and have light, sepia, and dark modes for easier reading. The buttons to change these settings will be done similar to how PDF.js is set up.
The team is currently in the process of getting all of this code on the meta bug.
Updated on 1 Nov to clarify that Sepia styling is planned as well. – Jared