Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-85589

Setting color to window dynamically does not give desired output

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.12.4, 5.12.5
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      This is reproducible with Qt 5.12.5 & Qt 5.12.4, with MSVC2015 & MSCV2017 on Windows 10 Pro, with Intel(R) Core(TM) i7-6699U CPU@2.60GHz.
    • Platform/s:
      Windows

      Description

      Hi

      I am facing this issue where if window color is set to opaque during initialization and the on some button click, change the color to transparent, it shows black color. Attached a sample reproducible program. Once app is running, there will be a small black colored rectangle. On clicking that rectangle the background color of the window changes.

      Issue is, during initialization, if the color is transparent, on clicking rectangle, we see colors changing from transparent to green and vice-a-versa. But if the color is non-transparent during the time of initialization, then we see black instead of transparent.

      Let me know if you guys need any further information.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            rakeshthp Rakesh Patil
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes