Bug 1064923 - hide-confirm-search does not work when installing packages using the dbus API of packagekit from python
Summary: hide-confirm-search does not work when installing packages using the dbus API...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-packagekit
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1056212
TreeView+ depends on / blocked
 
Reported: 2014-02-13 14:51 UTC by Mike FABIAN
Modified: 2016-07-19 11:00 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-07-19 11:00:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
pkginstall.py (1.38 KB, text/x-python)
2014-02-13 14:51 UTC, Mike FABIAN
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.