[Touch-packages] [Bug 1552773] Re: _optionselector.py looks for Label delegates instead of UCLabel
** Changed in: ubuntu-ui-toolkit (Ubuntu) Status: Confirmed => Fix Committed ** Changed in: ubuntu-ui-toolkit (Ubuntu) Assignee: Christian Dywan (kalikiana) => (unassigned) -- 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/1552773 Title: _optionselector.py looks for Label delegates instead of UCLabel Status in ubuntu-ui-toolkit package in Ubuntu: Fix Committed Bug description: The autopilot helper for optionselector seeks Label delegates, rather than UCLabel delegates. -- def get_selected_text(self): """gets the text of the currently selected item""" option_selector_delegate = self.select_single( 'OptionSelectorDelegate', focus='True') current_label = option_selector_delegate.select_single( 'Label', visible='True') return current_label.text def get_current_label(self): """gets the text of the currently selected item""" option_selector_delegate = self.select_single( 'OptionSelectorDelegate', focus='True') current_label = option_selector_delegate.select_single( 'Label', visible='True') return current_label -- Those select_single calls should use UCLabel. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1552773/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1552773] Re: _optionselector.py looks for Label delegates instead of UCLabel
** Changed in: ubuntu-ui-toolkit (Ubuntu) Assignee: (unassigned) => Christian Dywan (kalikiana) -- 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/1552773 Title: _optionselector.py looks for Label delegates instead of UCLabel Status in ubuntu-ui-toolkit package in Ubuntu: Confirmed Bug description: The autopilot helper for optionselector seeks Label delegates, rather than UCLabel delegates. -- def get_selected_text(self): """gets the text of the currently selected item""" option_selector_delegate = self.select_single( 'OptionSelectorDelegate', focus='True') current_label = option_selector_delegate.select_single( 'Label', visible='True') return current_label.text def get_current_label(self): """gets the text of the currently selected item""" option_selector_delegate = self.select_single( 'OptionSelectorDelegate', focus='True') current_label = option_selector_delegate.select_single( 'Label', visible='True') return current_label -- Those select_single calls should use UCLabel. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1552773/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1552773] Re: _optionselector.py looks for Label delegates instead of UCLabel
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ubuntu-ui-toolkit (Ubuntu) Status: New => Confirmed -- 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/1552773 Title: _optionselector.py looks for Label delegates instead of UCLabel Status in ubuntu-ui-toolkit package in Ubuntu: Confirmed Bug description: The autopilot helper for optionselector seeks Label delegates, rather than UCLabel delegates. -- def get_selected_text(self): """gets the text of the currently selected item""" option_selector_delegate = self.select_single( 'OptionSelectorDelegate', focus='True') current_label = option_selector_delegate.select_single( 'Label', visible='True') return current_label.text def get_current_label(self): """gets the text of the currently selected item""" option_selector_delegate = self.select_single( 'OptionSelectorDelegate', focus='True') current_label = option_selector_delegate.select_single( 'Label', visible='True') return current_label -- Those select_single calls should use UCLabel. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1552773/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1552773] Re: _optionselector.py looks for Label delegates instead of UCLabel
To confirm the fix, checkout rev 763 of lp:ubuntu-calendar-app, and run the calendar_app.tests.test_new_event.NewEventTestCase.test_new_event_must_start_with_default_values. It's a short test, and should fail without the change, and work with it. -- 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/1552773 Title: _optionselector.py looks for Label delegates instead of UCLabel Status in ubuntu-ui-toolkit package in Ubuntu: New Bug description: The autopilot helper for optionselector seeks Label delegates, rather than UCLabel delegates. -- def get_selected_text(self): """gets the text of the currently selected item""" option_selector_delegate = self.select_single( 'OptionSelectorDelegate', focus='True') current_label = option_selector_delegate.select_single( 'Label', visible='True') return current_label.text def get_current_label(self): """gets the text of the currently selected item""" option_selector_delegate = self.select_single( 'OptionSelectorDelegate', focus='True') current_label = option_selector_delegate.select_single( 'Label', visible='True') return current_label -- Those select_single calls should use UCLabel. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1552773/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp