timlau / yumex-dnf-old

Next Generation of Yum Extender using DNF as backend
GNU General Public License v2.0
61 stars 17 forks source link

Search doesn't find upgradeable packages as installed #53

Open genodeftest opened 9 years ago

genodeftest commented 9 years ago

Steps to reproduce:

  1. you need an upgradeable package. Note its name.
  2. open yumex-dnf
  3. search for the package name (or any prefix)
  4. select package type "installed"

What happens: your upgradeable package won't show up as installed. It will still show up as type "update" and "all". It will not show up as type "available" either.

Expected behavior: an upgradeable package is installed, so it should show up as type "installed".

Version: yumex-dnf-4.1.3-1.fc22.noarch, same on F23

timlau commented 9 years ago

I will look into this

timlau commented 9 years ago

If you uncheck Options -> Newest only from the main menu, you will see the installed packages also

the available package of the installed one is not shown on purpose, because you cant do any action on it that make any sense.

genodeftest commented 9 years ago

If you uncheck Options -> Newest only from the main menu, you will see the installed packages also

That makes sense from a logical point of view, I guess I understand what you are doing here. Anyway I don't think it is intuitive. I would expect any upgradeable package to be included in the current view when filtering to "installed". Any available action on installed packages (reinstall, remove) makes sense on any upgradeable package.

timlau commented 9 years ago

I understand this is not the most intuitive way of operation, I will try to make it more intuitive in a future release,

genodeftest commented 8 years ago

I think I know why it behaves differently than expected: When selecting to show "only latest version", users want to see one package, even if multiple versions are available. So the "only latest version" should probably be more like "only one version no matter how many versions are available" or "display only the installed version".