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. Border not showing on default QTextEdit

Border not showing on default QTextEdit

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 2 Posters 516 Views 2 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.
  • AndyBriceA Offline
    AndyBriceA Offline
    AndyBrice
    wrote on last edited by
    #1

    I notice that the border no longer show on QTextEdits after porting Qt 5 -> Qt 6:

    qtextedit.png

    I am using the Fusion style in both Qt 5 and Qt 6, on Windows 10 (font 150%)

    It's not very helpful to the user.

    Is everyone else seeing this, or is it just me?

    Anyone know why this has changed?

    I guess I will have to go through and tweak them. Or is there some easy tweak I can apply at the style level?

    Pl45m4P 1 Reply Last reply
    0
    • AndyBriceA AndyBrice

      I notice that the border no longer show on QTextEdits after porting Qt 5 -> Qt 6:

      qtextedit.png

      I am using the Fusion style in both Qt 5 and Qt 6, on Windows 10 (font 150%)

      It's not very helpful to the user.

      Is everyone else seeing this, or is it just me?

      Anyone know why this has changed?

      I guess I will have to go through and tweak them. Or is there some easy tweak I can apply at the style level?

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by Pl45m4
      #2

      @AndyBrice said in Border not showing on default QTextEdit:

      I am using the Fusion style in both Qt 5 and Qt 6, on Windows 10 (font 150%)

      What version of Qt6 exactly?

      Could be related to this bug

      • https://bugreports.qt.io/browse/QTBUG-88720
        • which is based on
          • https://bugreports.qt.io/browse/QTBUG-86344

      Try 6.6 or 6.7 to see if this got fixed somehow... The bugreport is still in unresolved state until now :/


      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      AndyBriceA 3 Replies Last reply
      0
      • Pl45m4P Pl45m4

        @AndyBrice said in Border not showing on default QTextEdit:

        I am using the Fusion style in both Qt 5 and Qt 6, on Windows 10 (font 150%)

        What version of Qt6 exactly?

        Could be related to this bug

        • https://bugreports.qt.io/browse/QTBUG-88720
          • which is based on
            • https://bugreports.qt.io/browse/QTBUG-86344

        Try 6.6 or 6.7 to see if this got fixed somehow... The bugreport is still in unresolved state until now :/

        AndyBriceA Offline
        AndyBriceA Offline
        AndyBrice
        wrote on last edited by
        #3

        @Pl45m4 I'm using 6.5.5 LTS.

        1 Reply Last reply
        0
        • Pl45m4P Pl45m4

          @AndyBrice said in Border not showing on default QTextEdit:

          I am using the Fusion style in both Qt 5 and Qt 6, on Windows 10 (font 150%)

          What version of Qt6 exactly?

          Could be related to this bug

          • https://bugreports.qt.io/browse/QTBUG-88720
            • which is based on
              • https://bugreports.qt.io/browse/QTBUG-86344

          Try 6.6 or 6.7 to see if this got fixed somehow... The bugreport is still in unresolved state until now :/

          AndyBriceA Offline
          AndyBriceA Offline
          AndyBrice
          wrote on last edited by
          #4

          @Pl45m4 If I change the font scaling from 150% to 100% the problem goes away. So it looks like the issue is https://bugreports.qt.io/browse/QTBUG-88720 . Thanks.

          I might have to allow users to set QGuiApplication::setHighDpiScaleFactorRoundingPolicy() in the Preferences of my app.

          1 Reply Last reply
          0
          • Pl45m4P Pl45m4

            @AndyBrice said in Border not showing on default QTextEdit:

            I am using the Fusion style in both Qt 5 and Qt 6, on Windows 10 (font 150%)

            What version of Qt6 exactly?

            Could be related to this bug

            • https://bugreports.qt.io/browse/QTBUG-88720
              • which is based on
                • https://bugreports.qt.io/browse/QTBUG-86344

            Try 6.6 or 6.7 to see if this got fixed somehow... The bugreport is still in unresolved state until now :/

            AndyBriceA Offline
            AndyBriceA Offline
            AndyBrice
            wrote on last edited by
            #5

            @Pl45m4 Now I know what the issue is, I guess I can mark it resolved (although the problem hasn't goen away).

            1 Reply Last reply
            0
            • AndyBriceA AndyBrice has marked this topic as solved on

            • Login

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