Slider's tooltip cropped by parent popover

Bug #1228576 reported by Roman Shchekin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Shorts App
Fix Released
Medium
Unassigned
ubuntu-ui-toolkit (Ubuntu)
Confirmed
Medium
Florian Boucault

Bug Description

Look screenshot

Tags: popover slider
Revision history for this message
Roman Shchekin (mrqtros) wrote :
Revision history for this message
Roman Shchekin (mrqtros) wrote :

Any news? :)

Roman Shchekin (mrqtros)
Changed in ubuntu-rssreader-app:
importance: Undecided → Medium
Revision history for this message
David Planella (dpm) wrote :

Roman, could you add the code snippet you used to trigger this bug and to take the screenshot?

The more info is added to the bug, the easier for triagers to reproduce it and the easier for the SDK team to fix it. Thanks!

Revision history for this message
Roman Shchekin (mrqtros) wrote : Re: [Bug 1228576] Re: Slider's tooltip cropped by parent popover

Of course, but little bit later (as always ;) )

28.09.13 20:46 David Planella написал(а):

Roman, could you add the code snippet you used to trigger this bug and
to take the screenshot?

The more info is added to the bug, the easier for triagers to reproduce
it and the easier for the SDK team to fix it. Thanks!

--

You received this bug notification because you are subscribed to the bug
report.
Matching subscriptions: Ubuntu RSS Reader Bugmail

https://bugs.launchpad.net/bugs/1228576

Title:
Slider's tooltip cropped by parent popover

Status in RSS Feed Reader application for Ubuntu devices:
New
Status in Ubuntu UI Toolkit:
New

Bug description:
Look screenshot

To manage notifications about this bug go to:

https://bugs.launchpad.net/bugs/1228576

Revision history for this message
Roman Shchekin (mrqtros) wrote :
Download full text (4.3 KiB)

Here you are. Pls remove all logic yourself, but preserve this layout. This popover must be shown via PopupUtils.open

Component {
        id: readingOptionsPopoverComponent

        Popover {
            id: readingOptionsPopover

            Component.onCompleted: {
// var useDarkTheme = DB.getUseDarkTheme()
// console.log("USE DARK", useDarkTheme)
                fontSizeSlider.value = optionsKeeper.fontSize()
                buttonRow.updateButtonsState()
            }

            Column {
                id: contentColumn

                anchors {
                    left: parent.left
                    top: parent.top
                    right: parent.right
                }

                ListItem.Empty {
                    showDivider: false
                    Label {
                        id: lblLess

                        text: "A"
                        fontSize: "small"
                        color: "black" // TODO TEMP
                        anchors {
                            left: parent.left
                            leftMargin: units.gu(2)
                            verticalCenter: parent.verticalCenter
                        }
                    }

                    Slider {
                        id: fontSizeSlider

                        anchors {
                            right: lblMore.left
                            rightMargin: units.gu(1)
                            left: lblLess.right
                            leftMargin: units.gu(1)
                            verticalCenter: parent.verticalCenter
                        }

                        minimumValue: 0
                        maximumValue: 2

                        onValueChanged: {
                            var res
                            if (value < maximumValue / 3)
                                res = 0
                            else if (value < maximumValue / 3 * 2)
                                res = 1
                            else res = 2

                            optionsKeeper.setFontSize(res)
                        }

                        function formatValue(v) {
                            if (v < maximumValue / 3)
                                return i18n.tr("Small")
                            else if (v < maximumValue / 3 * 2)
                                return i18n.tr("Mid")
                            else return i18n.tr("Large")
                        }
                    } // SLider

                    Label {
                        id: lblMore

                        text: "A"
                        fontSize: "large"
                        color: "black" // TODO TEMP
                        anchors {
                            right: parent.right
                            rightMargin: units.gu(2)
                            verticalCenter: parent.verticalCenter
                        }
                    }
                } // ListItem.Empty

                ListItem.Empty {
                    Row {
                        id: buttonRow

                        property bool useDark: false
                        spacin...

Read more...

Revision history for this message
Roman Shchekin (mrqtros) wrote :

Any news?

Changed in ubuntu-ui-toolkit:
status: New → Confirmed
importance: Undecided → Medium
Zoltan Balogh (bzoltan)
Changed in ubuntu-ui-toolkit:
assignee: nobody → Florian Boucault (fboucault)
Zoltan Balogh (bzoltan)
Changed in ubuntu-ui-toolkit (Ubuntu):
assignee: nobody → Florian Boucault (fboucault)
importance: Undecided → Medium
status: New → Confirmed
Zoltan Balogh (bzoltan)
no longer affects: ubuntu-ui-toolkit
Roman Shchekin (mrqtros)
Changed in ubuntu-rssreader-app:
status: New → Confirmed
Roman Shchekin (mrqtros)
Changed in ubuntu-rssreader-app:
status: Confirmed → 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.