Help popover can be opened during the game

Bug #1260592 reported by Stefano Verzegnassi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dropping Letters
Fix Released
Undecided
Alan Pope ๐Ÿบ๐Ÿง๐Ÿฑ ๐Ÿฆ„

Bug Description

Load the game, and play.
If the user clicks the top-left corner, the help popover will be opened. This may be an issue if some falling blocks will be arranged behind the popover.

Solution:
Add "enabled: !flipable.flipped" to helpbutton MouseArea (as done for playbutton).

 Rectangle {
                    id: helpbutton
                    objectName: "introhelpbutton"
                    width: units.gu(5)
                    height: units.gu(5)
                    radius: units.gu(1)
                    Label {
                        objectName: "introhelplabel"
                        text: "?"
                        anchors.centerIn: parent
                    }
                    anchors.top: parent.top
                    anchors.right: parent.right
                    anchors.margins: units.gu(2)
                    MouseArea {
                        anchors.fill: parent
                        enabled: !flipable.flipped
                        onClicked: {
                            PopupUtils.open(helppop, helpbutton)
                        }
                    }
                }

Related branches

Revision history for this message
Stefano Verzegnassi (verzegnassi-stefano) wrote :
Changed in dropping-letters:
status: New → Confirmed
assignee: nobody → Alan Pope ใ‹› (popey)
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:dropping-letters at revision 51, scheduled for release in dropping-letters, milestone Unknown

Changed in dropping-letters:
status: Confirmed → Fix Committed
Changed in dropping-letters:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.