×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2012
    Posts
    2

    Exclamation Harmattan QML RatingIndicator always 100% when using inverted theme

    I have run into a strange problem while using RatingIndicator for Harmattan.

    RatingIndicator Reference

    I am developping a full QML application with

    Code:
    theme.inverted = true
    and when I use:

    Code:
                        RatingIndicator {
                            id: myRatingItem
                            ratingValue: 1
                            maximumValue: 5
                            inverted = false
                        }
    The stars are correctly displayed (1/5).

    However, when I use:

    Code:
                        RatingIndicator {
                            id: myRatingItem
                            ratingValue: 1
                            maximumValue: 5
                            inverted = true
                        }
    or

    Code:
                        RatingIndicator {
                            id: myRatingItem
                            ratingValue: 1
                            maximumValue: 5
                        }
    (which is the same due to the inverted theme), the stars are not correctly displayed (they are all filled as if the ratingValue would be 5/5)

    This behaviour is seen on:
    - Nokia N9 target
    - Simulator with com.nokia.extras platform = Harmattan

    The behaviour is correct in simulator with com.nokia.extras platform = Symbian

    Obviously as I am developping a harmattan app with inverted theme, this is a big issue for me. Setting inverted = false on the component is not a solution as it is barely visible on a dark background.

    My only explication is that there is a bug in the component on harmattan but maybe I miss something... Any ideas?

    Thanks,

  2. #2
    Registered User
    Join Date
    Mar 2012
    Posts
    2

    Re: Harmattan QML RatingIndicator always 100% when using inverted theme

    Nobody ran into the same problem?

    I am completely stuck here and I see no other option than to define my own component but I'd really prefer to avoid this...

  3. #3
    Nokia Developer Expert
    Join Date
    Jun 2012
    Posts
    55

    Re: Harmattan QML RatingIndicator always 100% when using inverted theme

    Hello,

    It indeed seems to be a problem with the RatingIndicator, more specifically the image used for the inverted theme. Easiest solution would be not using inverted theme for your application, but if you are set on using inverted theme then you can write your own RatingIndicator component.

    Br,
    Villep

Similar Threads

  1. Harmattan Platform API vs. Meego 1.2 Harmattan Platform API
    By cycnus in forum [Archived] Qt SDKs and Tools
    Replies: 3
    Last Post: 2011-08-11, 10:04
  2. How to remove DOUBLE INVERTED COMMA from HBufC8
    By sid_diu in forum Symbian C++
    Replies: 3
    Last Post: 2010-12-29, 09:49
  3. Differentiating between devices with "inverted" stage size
    By ranco in forum [Archived] Flash Lite on Nokia Devices
    Replies: 7
    Last Post: 2010-10-14, 16:08
  4. mbm format - colors inverted!
    By mango7 in forum Python
    Replies: 0
    Last Post: 2008-11-19, 19:42
  5. picture sending problem(image inverted)
    By stevensp in forum General Messaging
    Replies: 1
    Last Post: 2003-12-23, 14:21

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •