Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt 5.7 + android + themes broken
Forum Updated to NodeBB v4.3 + New Features

Qt 5.7 + android + themes broken

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
7 Posts 3 Posters 1.5k Views 2 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.
  • QojoteQ Offline
    QojoteQ Offline
    Qojote
    wrote on last edited by Qojote
    #1

    Hello,

    I am using the latest Qt version 5.7 for developing android apps. Now i recognized a strange behaviour when i use the holo theme like this:

    android:theme="@android:style/Theme.Holo.NoActionBar.Fullscreen"
    

    On the first start everything looks fine (grey buttons and so on). But killing the app via task switcher and restarting it again brakes the theme/style and all controls are white.

    So i wrote a minimal example by just creating a GUI project with only one button and edited the manifest file. It produces exactly the same behaviour! With Qt 5.6 everything is working well, so i guess it has to be related to 5.7.

    Any help on that would be great!

    Best regards

    ? 1 Reply Last reply
    0
    • QojoteQ Qojote

      Hello,

      I am using the latest Qt version 5.7 for developing android apps. Now i recognized a strange behaviour when i use the holo theme like this:

      android:theme="@android:style/Theme.Holo.NoActionBar.Fullscreen"
      

      On the first start everything looks fine (grey buttons and so on). But killing the app via task switcher and restarting it again brakes the theme/style and all controls are white.

      So i wrote a minimal example by just creating a GUI project with only one button and edited the manifest file. It produces exactly the same behaviour! With Qt 5.6 everything is working well, so i guess it has to be related to 5.7.

      Any help on that would be great!

      Best regards

      ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      @Qojote Hi! See if you can find it in the bug database: https://bugreports.qt.io

      1 Reply Last reply
      0
      • QojoteQ Offline
        QojoteQ Offline
        Qojote
        wrote on last edited by
        #3

        Hi. Couldnt find a matching bug report. There are issues related to broken themes when background services are used, but thats not exactly my problem.

        ? 1 Reply Last reply
        0
        • QojoteQ Qojote

          Hi. Couldnt find a matching bug report. There are issues related to broken themes when background services are used, but thats not exactly my problem.

          ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          Okay. To me this looks like a bug. Maybe you want to report it.

          1 Reply Last reply
          0
          • QojoteQ Offline
            QojoteQ Offline
            Qojote
            wrote on last edited by
            #5

            Reported.

            1 Reply Last reply
            1
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Hi,

              Can you share the bug number so other people can more easily find it ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #7

                This is QTBUG-54753.

                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