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. QML elements over device's status bar
QtWS25 Last Chance

QML elements over device's status bar

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qmliosandroidstatus bar
13 Posts 3 Posters 5.1k Views
  • 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.
  • G Offline
    G Offline
    guidupas
    wrote on 18 Dec 2015, 18:12 last edited by
    #1

    I am facing a problem when the device's keyboard is shown. The elements go over the device's status bar as in the images.

    I have already tried to use the Flickable type but it does not work. Every time the keyboard appears, it push the app elements over the status bar.

    PS: The problem occurs in both Android and iOS.

    Here is the code:

    import QtQuick 2.4
    import QtQuick.Window 2.2
    import QtQuick.Controls 1.3
    
    Window {
        visible: true
        property int larguraTela: 360
        property int alturaTela: 640
        width: larguraTela
        height: alturaTela
        maximumWidth: larguraTela
        maximumHeight: alturaTela
        minimumWidth: larguraTela
        minimumHeight: alturaTela
        title: "OverStatusBar"
    
        Rectangle{
            id: retangulo1
    
            width: parent.width
            height: parent.height * 0.5
            anchors.top: parent.top
            color: "grey"
        }
    
        Rectangle{
            id: retangulo2
    
            width: parent.width
            height: parent.height * 0.5
            anchors.top: retangulo1.bottom
            color: "lightgrey"
    
            TextField {
                id: campoTexto
    
                width: parent.width * 0.7
                height: parent.height * 0.15
                anchors.centerIn: parent
                inputMethodHints: Qt.ImhDigitsOnly
            }
        }
    }
    

    Android 1 Android 2
    iOS 1 iOS 2

    Att.
    Guilherme Cortada Dupas

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 18 Dec 2015, 22:09 last edited by
      #2

      Hi,

      What version of Qt are you currently using ?

      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
      • G Offline
        G Offline
        guidupas
        wrote on 19 Dec 2015, 16:47 last edited by
        #3

        @SGaist
        I am using Qt 5.5.1

        Att.
        Guilherme Cortada Dupas

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 19 Dec 2015, 21:48 last edited by
          #4

          Since 5.6 beta is out, can you try with it to see if it's still happening ?

          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
          • D Offline
            D Offline
            Deis K
            wrote on 25 Dec 2015, 10:02 last edited by
            #5

            Any another ideas how to fix it?

            1 Reply Last reply
            0
            • G Offline
              G Offline
              guidupas
              wrote on 4 Jan 2016, 13:08 last edited by
              #6

              Hey @Deis-K , have you tried the @SGaist suggestion with 5.6 beta?

              Att.
              Guilherme Cortada Dupas

              D 1 Reply Last reply 11 Jan 2016, 08:35
              0
              • G guidupas
                4 Jan 2016, 13:08

                Hey @Deis-K , have you tried the @SGaist suggestion with 5.6 beta?

                D Offline
                D Offline
                Deis K
                wrote on 11 Jan 2016, 08:35 last edited by
                #7

                @guidupas Yes, I used 5.6 beta and OSX El Capitan.
                The problem has not been solved.

                1 Reply Last reply
                0
                • G Offline
                  G Offline
                  guidupas
                  wrote on 11 Jan 2016, 10:49 last edited by
                  #8

                  Hello @SGaist . @Deis-K and I have tried with Qt 5.6 beta, but the problem is not solved. Any other suggestion about how this issue could be solved?

                  Att.
                  Guilherme Cortada Dupas

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 11 Jan 2016, 21:57 last edited by
                    #9

                    Which version of iOS and Android did you test on ?

                    Did you check the bug report system to see if it's something known ?

                    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
                    • G Offline
                      G Offline
                      guidupas
                      wrote on 12 Jan 2016, 11:57 last edited by guidupas 1 Dec 2016, 12:43
                      #10

                      iOS 9.2

                      Android 19 and 22

                      No, I didn't check the bug report but @Deis-K sent it as a bug and it was accepted.

                      Att.
                      Guilherme Cortada Dupas

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on 12 Jan 2016, 21:09 last edited by
                        #11

                        Can you share the link ? So other people finding this thread can 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
                        • G Offline
                          G Offline
                          guidupas
                          wrote on 13 Jan 2016, 11:59 last edited by
                          #12

                          Here is the link
                          https://bugreports.qt.io/browse/QTBUG-50200

                          Att.
                          Guilherme Cortada Dupas

                          1 Reply Last reply
                          0
                          • S Offline
                            S Offline
                            SGaist
                            Lifetime Qt Champion
                            wrote on 13 Jan 2016, 22:09 last edited by
                            #13

                            Thanks !

                            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

                            • Login

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