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

Better error handling for missing package selector / pattern selector icons #59

Merged
merged 8 commits into from
Nov 6, 2018
Merged

Better error handling for missing package selector / pattern selector icons #59

merged 8 commits into from
Nov 6, 2018

Conversation

shundhammer
Copy link
Contributor

@shundhammer shundhammer commented Nov 6, 2018

Trello

https://trello.com/c/27ozQgUS/452-ostumbleweed-p1-1114654-build-20181102-patternselector-icons-missing-openqa-test-fails-in-selectpatternsandpackages

Bugzilla

https://bugzilla.suse.com/show_bug.cgi?id=1114654

Problem

Status icons in the YQPackageSelector / YQPatternSelector are missing, and it's hard to figure out what's wrong.

Fix

This is not yet a real fix, but it will greatly help to debug future similar issues:

There are now error messages in the log (once per missing icon, not any more often), and a missing status icon will now be displayed as a small red square so it's at least obvious that something is wrong.

missing-icons

2018-11-06 16:33:09 <3> morgul(8367) [qt-ui] YQIconPool.cc(loadIcon):157 Could not load icon xpackage-available
2018-11-06 16:33:09 <3> morgul(8367) [qt-ui] YQIconPool.cc(loadIcon):157 Could not load icon xpackage-install

I already told QA (Rodion) about this; it might help them in the future.

Also, this cleans up some accumulated cruft from the last 6-7 years.

You might want to view the diff without whitespace changes (checkbox at the upper right corner in the GitHub diff view).

Copy link
Member

@lslezak lslezak left a comment

Choose a reason for hiding this comment

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

Changes

package/libyui-qt-pkg.changes Outdated Show resolved Hide resolved
src/YQPkgPatternList.cc Outdated Show resolved Hide resolved
Copy link
Member

@lslezak lslezak left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@shundhammer shundhammer merged commit e66a3d2 into libyui:master Nov 6, 2018
@shundhammer shundhammer deleted the huha-missing-icons-01 branch November 6, 2018 16:17
mvidner pushed a commit to mvidner/libyui-combined-alpha-3 that referenced this pull request Jan 15, 2021
…ing-icons-01

Better error handling for missing package selector / pattern selector icons
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

2 participants