-
-
Notifications
You must be signed in to change notification settings - Fork 10
PR: Add support for multiple package actions handling #25
Conversation
Why not add a checkbox (as the first column) to select packages for installation, like synaptic? It seems simpler and more intuitive than using a context menu entry to do it. |
Also, please fix the error in Appveyor, it seems pretty simple :-) |
I dont know why this is there...
|
Yes, it's weird. |
Moved checkbox to first column, and changed icons... Empty box: not installed The version string now also display an arrow to indicate that there is a new version... Comments @Nodd, @Discalced51? |
I really like the second option (with colored rows). It's really, really nice! I don't like that much the grayed checkbox for installed packages. Could you change it for a check mark, like this: |
This is great ! As always :)
What I think could be improved:
To avoid having to use the context menu every time, there could be default action in each case activated on left click on the checkbox only, and the menu shows up on right click (anywhere on the line). Here are the default actions I suggest:
One question: do you manage dependencies somewhere ? More specifically, are they displayed in the dialog ? In that case the could be marked so, with |
I like the check mark for installed packages. In that case left clicking on it should not do anything since it doesn't look like a checkbox anymore, so it's more consistent. Is there an icon for upgradable packages that are not selected? Another suggestion: use a purple color (and icon) for downgraded packages, if it's not already done. |
} | ||
|
||
for i, row in enumerate(self._rows): | ||
action = self._rows[i][C.COL_ACTION] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self._rows[i]
is just row
I think, here and in the next few lines.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes :-p
@Nodd thanks for the input... Row colors can be tweaked so don't take them too seriously at this moment., I just took the icon colors and set the alpha value. @ccordoba12 thanks for the input, now they look like checkboxes |
@goanpeca , |
Fixed !
Tried blue and purple (for downgrades) no... comments?
Working on it
Working on it
Yes there are tooltips indicated that. Maybe we should change it to P as in Package?
Working on it
Very difficult to emulate the synaptic behavior for that... After clicking on apply I have no additional information about dependencies cause they are all sequential steps performed. |
I am merging as is. It is functional enough. The fixes on details as colors and improving the dialog will go in a different PR |
PR: Add support for multiple package actions handling
Fixes #2
Screenshots
Icons need to be redefined/redesigned (@Discalced51 :-) ?)
This probably needs to change to a dialog that displays the info in a better format.
For reference, How Synaptic looks.
Synaptic was used as reference for this PR
