| Summary: | Kirigami global drawer fails to render after selecting an option in "mobile mode" | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kirigami | Reporter: | Patrick Auernig <patrick.auernig> |
| Component: | general | Assignee: | Marco Martin <notmart> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | aleixpol |
| Priority: | NOR | ||
| Version First Reported In: | Master | ||
| Target Milestone: | 1.0 | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/kirigami/0ef403d1b945cdd9f2c57b5d978bed272e62a7ff | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Patrick Auernig
2017-06-23 13:30:26 UTC
Some additional system information: [Package versions] Plasma: 5.10.2 Frameworks: 5.35.9 Qt: 5.9.0 Kernel: 4.11.6-1-ARCH 64bit [Hardware] Processor: AMD FX-8350 Graphics: AMD Radeon RX 480 Aleix, may also be an issue of Discover? Might be. More information would be welcome though. Can you run in from the console and see if there's any error messages? I cannot reproduce the issue here. Here's a minimal example:
import org.kde.kirigami 2.0 as Kirigami
Kirigami.ApplicationWindow
{
globalDrawer: Kirigami.GlobalDrawer {
modal: true
actions: [
Kirigami.Action {
text: "A"
},
Kirigami.Action {
text: "B"
Kirigami.Action {
text: "C"
}
}
]
}
}
It needs to be a modal drawer, it's when the drawer is hidden that everything disappears.
Git commit 0ef403d1b945cdd9f2c57b5d978bed272e62a7ff by Marco Martin. Committed on 11/07/2017 at 15:41. Pushed by mart into branch 'master'. use NumberAnimation instead of XAnimator it's important those are NumberAnimation and not XAnimators as while the animation is running the drawer may close, and the animator would stop when not drawing see M +29 -3 src/controls/GlobalDrawer.qml https://commits.kde.org/kirigami/0ef403d1b945cdd9f2c57b5d978bed272e62a7ff |