← Back to team overview

touch-packages team mailing list archive

[Bug 1487285] [NEW] ComboButtonStyle style artifacts

 

Public bug reported:

from bug:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1427187

Test case.
- Run the wizard from unity8 project.
- Go to the language selection page.
- Tap to open the list.
- Select a language (e.g Spanish).

Expected result.
- Language is selected and dropdown widget doesn't change its style.

Actual result.
- After language is selected, widget changes its style. For a moment, the list is no longer transparent, but gray. 


was able to track this down to ComboButtonStyle.qml
http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/staging/view/head:/src/Ubuntu/Components/Themes/Ambiance/1.2/ComboButtonStyle.qml

specifically line 32:
defaultDropdownColor: combo.expanded ? Qt.rgba(0, 0, 0, 0.05) : defaultColor

seems waiting for combo.expanded to be evaluated is the issue.

changing line 32 to:
defaultDropdownColor: Qt.rgba(0, 0, 0, 0.05)
and line 110 to:
color: mainButton.defaultColor

will give desired results in the wizard, tho not a proper fix.

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

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

Title:
  ComboButtonStyle style artifacts

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  from bug:
  https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1427187

  Test case.
  - Run the wizard from unity8 project.
  - Go to the language selection page.
  - Tap to open the list.
  - Select a language (e.g Spanish).

  Expected result.
  - Language is selected and dropdown widget doesn't change its style.

  Actual result.
  - After language is selected, widget changes its style. For a moment, the list is no longer transparent, but gray. 

  
  was able to track this down to ComboButtonStyle.qml
  http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/staging/view/head:/src/Ubuntu/Components/Themes/Ambiance/1.2/ComboButtonStyle.qml

  specifically line 32:
  defaultDropdownColor: combo.expanded ? Qt.rgba(0, 0, 0, 0.05) : defaultColor

  seems waiting for combo.expanded to be evaluated is the issue.

  changing line 32 to:
  defaultDropdownColor: Qt.rgba(0, 0, 0, 0.05)
  and line 110 to:
  color: mainButton.defaultColor

  will give desired results in the wizard, tho not a proper fix.

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