Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt 5.2 , when Korean characters inputs, qt assert!!

    General and Desktop
    4
    6
    1698
    Loading More Posts
    • 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.
    • D
      DevTester last edited by

      i have installed Qt 5.2 , but i have found key input assert.

      Test Situation, In Korean Windows 7, 8, 8.1 ....

      1. In Qt Designer, new mainwindow form, click menubar's 'input here', edit korean text, and Qt designer shutdown

      2. In QLineEdit, ... QtWidgets . I input Korean message assert like below pictures.

      http://s27.postimg.org/3n70y42wz/QT_5_2_0.jpg
      !http://postimg.org/image/r1f0a1ku7()!

      i very disappointed this assert.

      1 Reply Last reply Reply Quote 0
      • T
        thebeast44 last edited by

        I've been having same problem.
        It doesn't seem to happen with 5.1.1, so it's probably related to recent changes to qwindowskeymapper.

        it usually happens when you press space or enter while typing Korean.

        1 Reply Last reply Reply Quote 0
        • JKSH
          JKSH Moderators last edited by

          Hi,

          This looks like a bad bug. Please report it at http://bugreports.qt-project.org/

          Anyway, what happens if you click "Ignore (I)"? There is a chance the program can still run. Asserts don't happen in Release mode.

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply Reply Quote 0
          • T
            thebeast44 last edited by

            [quote author="JKSH" date="1387859585"]Hi,
            Anyway, what happens if you click "Ignore (I)"? There is a chance the program can still run. Asserts don't happen in Release mode.[/quote]

            crashes in release mode.

            btw, seems like the original poster already submitted a bug report

            1 Reply Last reply Reply Quote 0
            • P
              pejold last edited by

              Is there any workaround for this problem?

              1 Reply Last reply Reply Quote 0
              • T
                thebeast44 last edited by

                [quote author="pejold" date="1388639874"]Is there any workaround for this problem?[/quote]

                One of the ways to avoid assert/crash is to:
                Type in additional characters and then use backspace to remove those extra characters.

                Assert/crash seems to occur when you input spacebar or enter while IME is composing a Korean character (which is composed of anywhere between 2~5 key inputs)

                This workaround is okay for developer himself, but if you're planning to release your software to others you'll need to use Qt 5.1.1 until this issue is resolved.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post