Bug 1064923

Summary: hide-confirm-search does not work when installing packages using the dbus API of packagekit from python
Product: [Fedora] Fedora Reporter: Mike FABIAN <mfabian>
Component: gnome-packagekitAssignee: Richard Hughes <rhughes>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: jonathan, kalevlember, mfabian, rdieter, rhughes, smparrish
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 11:00:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1056212    
Attachments:
Description Flags
pkginstall.py none

Description Mike FABIAN 2014-02-13 14:51:16 UTC
Created attachment 862822 [details]
pkginstall.py

python pkginstall.py &

displays a dialog 

    The application python wants to install a package

        pyhunspell

    Do you want to search for and install this package
                           [Cancel][Continue]

Although the program contains:

 proxy.InstallPackageNames("(uass)", 0, [pkg], "hide-confirm-search,hide-finished")

i.e. the dialog asking whether one wants to search and install 
should be hidden and the program should directly proceed to 
attempt the installation.

By the way, using the window id as the second parameter of proxy.InstallPackageNames() instead of 0 does not change the 
name "python" into anything else, it still says 

    The application python wants ...

even when given a windowid. If started like:

    python2 pkginstall.py &

it says:

    The application python2 wants ...

Comment 1 Mike FABIAN 2015-04-20 15:22:48 UTC
Still unchanged on Fedora-Live-Workstation-x86_64-22_Beta-3.iso

Comment 2 Fedora End Of Life 2016-07-19 11:00:00 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.