https://bugs.kde.org/show_bug.cgi?id=420439

            Bug ID: 420439
           Summary: item.grabToImage() does not work in a
                    KQuickAddons::ConfigModule
           Product: frameworks-kdeclarative
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: notm...@gmail.com
          Reporter: uhh...@gmail.com
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

Expected behaviour: item.grabToImage() works as expected.
Actual behaviour: "QML <ItemType>: grabToImage: item's window is not visible"

Example: 

---
import QtQuick 2.6
import org.kde.kcm 1.2 as KCM

KCM.ScrollViewKCM {
  Rectangle {
    id: rect
    width: 50
    height: 50
    color: "red"
    MouseArea {
      anchors.fill: parent
      onClicked: {
        rect.grabToImage(function(result) {})
        // QML Rectangle: grabToImage: item's window is not visible
      }
    }
  }
}
---

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to