← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1354811] [NEW] Black squares shown in header actions if no icon set

 

Public bug reported:

See the attached screenshot.

- Expected: no icon shown for the action if the icon has not been set
- Actual: black square is shown to represent an empty icon

It corresponds to header actions for the following code snippet:

            head.actions: [
                Action {
                    text: i18n.tr("Settings")
                    iconName: "settings"
                    onTriggered: pageStack.push(settingsPage)
                },
                Action {
                    objectName: "hidepanelaction"
                    iconName: "edit-clear"
                    text: i18n.tr("Hide all key panels")
                    onTriggered: pgTerm.showExtraPanel(0)
                },
                Action {
                    objectName: "controlkeysaction"
                    text: i18n.tr("Show control keys panel")
                    onTriggered: pgTerm.showExtraPanel(1)
                },
                Action {
                    objectName: "functionkeysaction"
                    text: i18n.tr("Show function keys panel")
                    onTriggered: pgTerm.showExtraPanel(2)
                },
                Action {
                    objectName: "textkeysaction"
                    text: i18n.tr("Show arrow keys panel")
                    onTriggered: pgTerm.showExtraPanel(3)
                }
            ]
        }

** Affects: ubuntu-ui-toolkit
     Importance: Undecided
         Status: New

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: avengers

** Attachment added: "term-actions.png"
   https://bugs.launchpad.net/bugs/1354811/+attachment/4173794/+files/term-actions.png

** Also affects: ubuntu-ui-toolkit (Ubuntu)
   Importance: Undecided
       Status: New

** Tags added: avengers

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1354811

Title:
  Black squares shown in header actions if no icon set

Status in Ubuntu UI Toolkit:
  New
Status in “ubuntu-ui-toolkit” package in Ubuntu:
  New

Bug description:
  See the attached screenshot.

  - Expected: no icon shown for the action if the icon has not been set
  - Actual: black square is shown to represent an empty icon

  It corresponds to header actions for the following code snippet:

              head.actions: [
                  Action {
                      text: i18n.tr("Settings")
                      iconName: "settings"
                      onTriggered: pageStack.push(settingsPage)
                  },
                  Action {
                      objectName: "hidepanelaction"
                      iconName: "edit-clear"
                      text: i18n.tr("Hide all key panels")
                      onTriggered: pgTerm.showExtraPanel(0)
                  },
                  Action {
                      objectName: "controlkeysaction"
                      text: i18n.tr("Show control keys panel")
                      onTriggered: pgTerm.showExtraPanel(1)
                  },
                  Action {
                      objectName: "functionkeysaction"
                      text: i18n.tr("Show function keys panel")
                      onTriggered: pgTerm.showExtraPanel(2)
                  },
                  Action {
                      objectName: "textkeysaction"
                      text: i18n.tr("Show arrow keys panel")
                      onTriggered: pgTerm.showExtraPanel(3)
                  }
              ]
          }

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1354811/+subscriptions


Follow ups

References