Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Performance decrease after launching camera and changing the view

Performance decrease after launching camera and changing the view

Scheduled Pinned Locked Moved QML and Qt Quick
6 Posts 3 Posters 2.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    strekazoid
    wrote on last edited by
    #1

    I have two pages in a page stack. First is the main view, second contains Camera element. Main view opens view with the Camera. After going back from Camera to the main view there is a significant drop in application performance. The animation and transitions are laggy.

    I wonder if I should close the camera somehow and release resources before leaving the page? And how to do it in QML?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      strekazoid
      wrote on last edited by
      #2

      And up. This is still unsolved issue.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        strekazoid
        wrote on last edited by
        #3

        Tried dynamically loading and destroying Camera component. Still there is a significant decrease in performance after Camera is loaded and destroyed.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          strekazoid
          wrote on last edited by
          #4

          Now an interesting observation: this issue doesn't happen with Nokia 701 running Symbian Belle.

          But on Nokia E7 with Symbian Anna this is very valid.

          1 Reply Last reply
          0
          • R Offline
            R Offline
            remy_david
            wrote on last edited by
            #5

            Same issue here.
            Just before the camera launches, the app comes back to the phone's menu during 1 second.
            After that, I can see the phone's menu between each pagestack transitions and the transitions becomes very slow.

            Symbian Anna on N8.

            1 Reply Last reply
            0
            • C Offline
              C Offline
              chriadam
              wrote on last edited by
              #6

              I can't speak for this exact case (or why it would differ between Anna and Belle for example) but in general, once you create a component, it will have bindings being re-evaluated if any of the properties those bindings depend on change (eg, due to an animation). Thus, the cost of not destroying an invisible element is non-zero.

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved