Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fixes and new features #4

Merged
merged 6 commits into from Aug 9, 2012
Merged

Conversation

faenil
Copy link
Member

@faenil faenil commented Aug 4, 2012

Bug fixed:

  • NEMO#191: Flag autoUpdate has been set to true in the gallery model used to load images.
  • NEMO#238: The wildcard filter on *jpg files has been removed, all images of type DocumentGallery.Image are now shown
  • NEMO#186: The user is now warned when there no images are found in the device. A string is shown at the center of the screen
  • NEMO#231: The view which shows fullscreen images has been rewritten without using ListView or GridView (inspired by w00t's qmantle2 WallpaperContainer component). To do this, a new file called ImageContainer.qml has been added and included in the resources by modifying the .qrc file. Five ImageContainers are now created and they're shifted left or right each time a left or right swipe is performed by the user. As a side effect, the correct image is now shown when the orientation of the device is changed.

New features (i.e. additions which are not part of already filed bugs)

  • The zoom is now reset when the device orientation is changed
  • The display name of the application has been changed from qmlgallery to Gallery

@special
Copy link
Contributor

special commented Aug 5, 2012

Code is OK, but two commit messages refer to the wrong bugs; instructions for fixing those are above.

In the future, it's a lot easier to keep track of reviews when there is separate review for each change/bug; when there are five or six bunched together like this, it's confusing to test and comment on. If you use feature branches, it's much easier to do :)

import QtQuick 1.1
import com.nokia.meego 1.0

Item{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

styling related (I'd prefer to see this fixed, I know we don't yet have nemo-wide recommendations, but we should) is generally that there's a space after Item before {

@rburchell
Copy link
Contributor

just some style nitpicking. I'll trust john on the content of the change, and we'll merge this as-is. I'd appreciate to see a fixup commit for the style issues later (and I'll go off and start figuring out that recommendations guide..).

@special
Copy link
Contributor

special commented Aug 5, 2012

That is, it can be merged as-is once the commit messages are fixed.

if (rect.width == imgController.width) {

//Anchors the image to the left
if (flickImg.contentX < 0){
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing space here

@rburchell
Copy link
Contributor

Some more style nitpickery, but I don't consider those to be objections to getting this in at this stage. Let's get it in unless there are real problems. It can always be fixed later.

@special
Copy link
Contributor

special commented Aug 9, 2012

Agreed. There are some more style issues (watch out for more than one blank line), but that's not a reason to not merge now.

Otherwise, LGTM.

special added a commit that referenced this pull request Aug 9, 2012
Bug fixes and new features
@special special merged commit 0450248 into nemomobile:master Aug 9, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants