Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bsc#1157780: improve addon selector #511

Merged
merged 5 commits into from Mar 2, 2020
Merged

Conversation

imobachgs
Copy link
Contributor

As the discussion about yast/yast-registration#483 is taking some time, we have decided to propose this alternative fix until the new widget is ready. Bear in mind that the new widget will bring other improvements, but this PR should at least fix the bug described in bsc#1157780 (although it changes the behaviour). Let's consider this a Plan B :)

In a nutshell, the idea is to consider the first available product as the current one (although it is not selected) and display its information. See the screenshots below and read on to find further information.

Addon selection in Qt

addon-selection-qt

Addon selection in ncurses

addon-selection-ncurses

The problem

The selector widget considers the first element as the current one. So if the user clicks in the first element to see the details, the widget will not propagate that event (in reality, the value has not changed).

@jreidinger
Copy link
Member

for me change looks fine.

@imobachgs imobachgs marked this pull request as ready for review March 2, 2020 12:37
Copy link
Member

@dgdavid dgdavid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks a lot.

@imobachgs imobachgs merged commit 2fb8069 into master Mar 2, 2020
@imobachgs imobachgs deleted the bsc-1157780/addon-selector branch March 2, 2020 16:03
@yast-bot
Copy link
Contributor

yast-bot commented Mar 2, 2020

✔️ Internal Jenkins job #50 successfully finished
✔️ Created IBS submit request #212967

@yast-bot
Copy link
Contributor

yast-bot commented Mar 4, 2020

✔️ Public Jenkins job #113 successfully finished
✔️ Created OBS submit request #781337

dgdavid added a commit to yast/yast-registration that referenced this pull request Mar 13, 2020
For consistence with the behavior introduced in yast2-packager 4.2.55

See yast/yast-packager#511
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants