Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QLineEdit buggy display on MacOS X
Forum Updated to NodeBB v4.3 + New Features

QLineEdit buggy display on MacOS X

Scheduled Pinned Locked Moved General and Desktop
11 Posts 3 Posters 3.5k 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.
  • O Offline
    O Offline
    OlivierB
    wrote on last edited by
    #1

    Hi all,

    I have a strange problem under MacOS X (10.7). All my QLineEdit display the content with a left margin: !http://img708.imageshack.us/img708/9512/screenshot20120201at343.png!
    I have this problem for quite long time now. I was hoping that the today update will correct this problem. But no, even with the brand new 4.8.0 the problem is here.

    If someone has a clue, thanks to answer.

    Olivier.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      The lineedit looks like it was just dragged onto the widget... Did you add a layout to the TestWidget?

      1 Reply Last reply
      0
      • O Offline
        O Offline
        OlivierB
        wrote on last edited by
        #3

        Yes it was just for the test. But it changes nothing if the QLineEdit is in a layout.

        1 Reply Last reply
        0
        • O Offline
          O Offline
          OlivierB
          wrote on last edited by
          #4

          Another important information, the problem seems to persist when I deploy the application on others Mac (10.7 too).

          1 Reply Last reply
          0
          • M Offline
            M Offline
            miroslav
            wrote on last edited by
            #5

            Strange, I found the same issue in my program: two out of three line edits in a dialog show it. I could not figure out what triggers it. Did anybody file a bug already?

            Mirko Boehm | mirko@kde.org | KDE e.V.
            FSFE Fellow
            Qt Certified Specialist

            1 Reply Last reply
            0
            • O Offline
              O Offline
              OlivierB
              wrote on last edited by
              #6

              I found this "bug report":https://bugreports.qt-project.org/browse/QTBUG-19513. But this is marked as no reproducible.

              1 Reply Last reply
              0
              • M Offline
                M Offline
                miroslav
                wrote on last edited by
                #7

                It is definitely hard to reproduce. I will give it a try.

                Mirko Boehm | mirko@kde.org | KDE e.V.
                FSFE Fellow
                Qt Certified Specialist

                1 Reply Last reply
                0
                • O Offline
                  O Offline
                  OlivierB
                  wrote on last edited by
                  #8

                  I have made an App bundle for you to test ("download here":http://www.mediafire.com/?5z3zawi5e5btd5q).
                  Can you tell me if you have the problem on your Mac. The line edit on the top is created with the designer, the line edit on the bottom is created programmatically.

                  Thanks.

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    miroslav
                    wrote on last edited by
                    #9

                    Ok, will try to get that done tomorrow.

                    Mirko Boehm | mirko@kde.org | KDE e.V.
                    FSFE Fellow
                    Qt Certified Specialist

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      miroslav
                      wrote on last edited by
                      #10

                      Ok, report: Both line edits show the same buggy behavior. Indentation on the left. Will you submit a bug report? Cheers! Mirko.

                      Mirko Boehm | mirko@kde.org | KDE e.V.
                      FSFE Fellow
                      Qt Certified Specialist

                      1 Reply Last reply
                      0
                      • O Offline
                        O Offline
                        OlivierB
                        wrote on last edited by
                        #11

                        Bug report submitted: "see here":https://bugreports.qt-project.org/browse/QTBUG-24051.
                        Thanks for your help.

                        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