Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QLineEdit on OSX and the initial cursor position problem
Qt 6.12 LTS is out! See what's new in the release blog

QLineEdit on OSX and the initial cursor position problem

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 2.7k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    I am experiencing a strange phenomenon with Qt 4.7.4 (was present in earlier versions too). Sometimes, when I click on an empty QLineEdit to bring it to focus, the cursor will start blinking on the right hand side of the edit-box (as if typing RTL). Only after the first key press and the first character appearing, it will "jump" to the left, positioning itself after the character I just typed. It this some kind of RTL/LTR confusion? should I specify something more explicitly?

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

      I can imagine what you mean, but that never happened to me. Are you using the Cocoa or the Carbon version for the Mac?

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

        Cocoa. I can hide the issue by enforcing and then removing content from the empty QLineEdit... but I was hoping for a mode elegant solution.

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

          Really strange. Did you search in the bugtracker already?

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

            Will do today. If it doesn't exist I'll see if I can submit a new one with "video evidence"

            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
            • Unsolved