Uploaded image for project: 'Qt for MCUs'
  1. Qt for MCUs
  2. QTMCU-372

Unexpected behaviour when using transparent color in MainWindow

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • Qt for MCUs 2.8.3
    • Qt for MCUs 2.8.2
    • Controls
    • None

    Description

      Expected behaviour:

      When using a transparent color in MainWindow.qml, we expected a seamless transition between views, with only one view visible at any given time. There should be no traces or shapes from the previous view, and the controls should render correctly without any visual artifacts or unexpected issues.

       

      Actual behaviour

      When switching between views, we notice that the rendering does not operate as expected. Each view appears to stack on top of one another with each transition, leading to remnants of previous views being visible.

       

      Additional info

      We do not have error messages.
      We have observed that this behavior does not occur when using a solid color. Which makes sense because solid color prevents to see what it is behind the view. 

      I include the files so you can reproduce the error. Additionally, please find attached screenshots with described behaviour. 
       
      Run the application
      EntryScreen is visible:

      1.-Press screen to switch view -> ButtonScreen:

      2.-Press arrow button to come back -> EntryScreen:

      You can iterate over this steps and you will see that color gets more and more intense the more that you swicth between views.

      Attachments

        1. ButtonScreen.qml
          0.6 kB
        2. EntryScreen.qml
          0.3 kB
        3. image-2025-03-26-16-48-24-304.png
          image-2025-03-26-16-48-24-304.png
          8 kB
        4. image-2025-03-26-16-48-43-788.png
          image-2025-03-26-16-48-43-788.png
          8 kB
        5. image-2025-03-26-16-50-12-799.png
          image-2025-03-26-16-50-12-799.png
          8 kB
        6. image-2025-03-26-16-51-39-728.png
          image-2025-03-26-16-51-39-728.png
          9 kB
        7. MainWindow.qml
          0.6 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            cristinapascual Cristina Pascual Navarro
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes