Results 1 to 7 of 7

Thread: Weird text input problem

  1. #1
    Join Date
    Jan 2009
    Location
    New Zealand
    Posts
    29
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Weird text input problem

    I'm having a serious problem with Qt 4.6.2 and Qt Creator 2 beta on Linux (haven't tested Windows yet, will do that tonight)

    Text input periodically seems to switch off entirely, with no cursor shown and no input possible but selection still possible (as if everything has suddenly become read-only - although it happens to SpinBoxes as well as LineEdits/TextEdits)

    Has anyone had a similar problem/knows of a solution? I'm not even sure whether it's a Linux/GNOME problem or a Qt one ...

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Weird text input problem

    Do you mean that you can't type in to Qt Creator, or an application you are building with it?
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. #3
    Join Date
    Jan 2009
    Location
    New Zealand
    Posts
    29
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Re: Weird text input problem

    Both, although the application seems to be always, while Creator is sporadic - it only occasionally refuses to accept input.

    It does seem to be a Linux problem however - I can't replicate the issue in Windows.

  4. #4
    Join Date
    Jul 2009
    Posts
    139
    Thanks
    13
    Thanked 59 Times in 52 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Weird text input problem

    I have the same problem with Creator after I resume from suspend sometimes. Weirdly, if I go and type in another program then I can come back and type into Creator. Using Ubuntu.

  5. #5
    Join Date
    Jan 2009
    Location
    New Zealand
    Posts
    29
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Re: Weird text input problem

    Interesting ... I might try that. (also using ubuntu)

    for some reason, my project isn't building on the version of Qt I have on Ubuntu on my desktop, so I'll install 4.6.3/Creator 2.0.0 and see if the problem recurs. I'll also try it on KDE to see if it could be a GNOME problem ... I assume you're using standard GNOME numbat?

  6. #6
    Join Date
    Sep 2008
    Posts
    28
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Weird text input problem

    Same issue here. If laptop is suspended with the focus on any input field of _any_ Qt program, when it is resumed, the cursor will be missing, and while you'll be able to select things - you won't be able to type.

    Ubuntu 10.04, 64bit, and damn Qt is buggy.

  7. #7
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Weird text input problem

    Creator 2 is built against the (unstable) 4.7. The apps built with it are compiled against 4.6, so if both Creator and the target application act in the same weird way (and they didn't do that earlier) then it is likely not a bug in Qt (otherwise it'd be there with earlier versions of Qt too), more likely in some dependency of it (or something completely unrelated). I'm having freezing issues with Creator 2 beta as well (it's built against quite old revision of 4.7), different from yours though.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Input a text file
    By dwarnold45 in forum Newbie
    Replies: 2
    Last Post: 30th March 2010, 06:47
  2. How to limit the input text in QPlaintextedit?
    By sudhansu in forum Qt Programming
    Replies: 4
    Last Post: 10th March 2010, 10:42
  3. Continuous read of text from an input file
    By ttvo in forum Qt Programming
    Replies: 1
    Last Post: 2nd June 2009, 00:09
  4. read input string --> text mode
    By eleanor in forum Qt Programming
    Replies: 1
    Last Post: 25th October 2007, 18:08
  5. [?] Input text programmatically
    By XuTMAH in forum Newbie
    Replies: 3
    Last Post: 24th September 2007, 16:47

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.