Merge lp:~evfool/synaptic/ancientfixes into lp:synaptic
| Status: | Merged |
|---|---|
| Merged at revision: | 2102 |
| Proposed branch: | lp:~evfool/synaptic/ancientfixes |
| Merge into: | lp:synaptic |
| Diff against target: |
1282 lines (+274/-201) 49 files modified
common/rpackage.cc (+13/-0) common/rpackage.h (+1/-0) debian/control (+1/-1) gtk/gsynaptic.cc (+3/-3) gtk/gtkbuilder/dialog_change_version.ui (+0/-1) gtk/gtkbuilder/dialog_columns.ui (+0/-1) gtk/gtkbuilder/dialog_conffile.ui (+0/-1) gtk/gtkbuilder/dialog_disc_label.ui (+0/-1) gtk/gtkbuilder/dialog_download_error.ui (+0/-1) gtk/gtkbuilder/dialog_example.ui (+0/-1) gtk/gtkbuilder/dialog_new_repositroy.ui (+0/-1) gtk/gtkbuilder/dialog_quit.ui (+0/-1) gtk/gtkbuilder/dialog_task_descr.ui (+0/-1) gtk/gtkbuilder/dialog_unmet.ui (+0/-1) gtk/gtkbuilder/dialog_update_failed.ui (+0/-1) gtk/gtkbuilder/dialog_update_outdated.ui (+0/-1) gtk/gtkbuilder/dialog_upgrade.ui (+0/-1) gtk/gtkbuilder/dialog_welcome.ui (+0/-1) gtk/gtkbuilder/window_about.ui (+0/-2) gtk/gtkbuilder/window_changes.ui (+0/-1) gtk/gtkbuilder/window_details.ui (+6/-0) gtk/gtkbuilder/window_disc_name.ui (+0/-1) gtk/gtkbuilder/window_fetch.ui (+1/-2) gtk/gtkbuilder/window_filters.ui (+3/-6) gtk/gtkbuilder/window_find.ui (+0/-1) gtk/gtkbuilder/window_iconlegend.ui (+0/-1) gtk/gtkbuilder/window_logview.ui (+0/-1) gtk/gtkbuilder/window_main.ui (+1/-1) gtk/gtkbuilder/window_preferences.ui (+23/-75) gtk/gtkbuilder/window_rgdebinstall_progress.ui (+0/-1) gtk/gtkbuilder/window_rginstall_progress.ui (+0/-1) gtk/gtkbuilder/window_setopt.ui (+0/-1) gtk/gtkbuilder/window_summary.ui (+2/-2) gtk/gtkbuilder/window_tasks.ui (+0/-1) gtk/gtkbuilder/window_zvtinstallprogress.ui (+0/-1) gtk/rgdebinstallprogress.cc (+3/-3) gtk/rgfiltermanager.cc (+1/-1) gtk/rggtkbuilderwindow.cc (+18/-0) gtk/rggtkbuilderwindow.h (+1/-0) gtk/rgmainwindow.cc (+42/-47) gtk/rgpackagestatus.cc (+0/-27) gtk/rgpkgdetails.cc (+38/-1) gtk/rgpkgdetails.h (+1/-0) gtk/rgpreferenceswindow.cc (+4/-4) gtk/rgsummarywindow.cc (+1/-0) gtk/rguserdialog.cc (+8/-1) gtk/rgutils.cc (+97/-0) gtk/rgutils.h (+3/-0) gtk/rgwindow.cc (+3/-1) |
| To merge this branch: | bzr merge lp:~evfool/synaptic/ancientfixes |
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Ubuntu Sponsors Team | 2012-02-24 | Pending | |
| synaptic-developers | 2012-02-15 | Pending | |
|
Review via email:
|
|||
Description of the Change
This branch fixes some minor issues (One commit/issue):
* Disables typeahead in summary dialog, as it doesn't do anything, so it's unnecesary (LP: #24319)
* Move up and Move down buttons in columns preferences changed to respect buttons_have_icons preference (LP: #66574)
* Set the title of the package properties dialog opened for the first time (it has not been set before, so it was synaptic the first time the dialog has been opened) (LP: #932495)
* Added a reload button to the repositories changed dialog (LP: #78987)
* Updated the wording of the expander on the download progress dialog to Show individual files" instead of "Show for individual files" (LP: #301428)
* Fixed inconsistencies between column namings in column headers and column visibility preferences (LP: #335723)
* Linkified maintainer label in the package properties dialog (LP: #321380)
* Added package name in the warning scaring you about breaking your system (LP: #63974)
* Added name of the application (Synaptic Package Manager) in the titleless dialog shown when starting without administrative privilegess (LP: #510261)
* Improved filter editing checkbox tooltips (LP: #790420)
* Made all the property values from the package properties dialog selectable (LP: #173464)
* Changed Package Properties accelerator from Ctrl+O to widely used (nautilus, eog, evince etc) Alt+Enter (LP: #933554)
* Hide the only download packages checkbox if there are no files to download (LP: #413453)
* Use the synaptic icon from the user's icon theme, or fall back to the old one if the current theme does not provide a synaptic icon (LP: #153755)
* Focus the Apply button by default. (LP: #488718)
* Removed log message from automatically installed item click (LP: #883984)
* Fixed delete filter button not working caused by a typo in the name of the button when getting it from the GtkBuilder object (LP: #779756)
* Added suggests tasksel as with tasksel installed synaptic provides additional functionality (LP: #605186)
* Fixes incorrect radiobutton handling in the proxy preferences (LP: #706262)
| Michael Vogt (mvo) wrote : | # |
| Michael Vogt (mvo) wrote : | # |
While doing the review I noticed another small issue:
The fix for bug #755548 is not ideal as the code supports multiple selection and its actually a quite
useful feature IMO. It does not work with the "space" key very well, so we would either need to find
a way to make "space" on multiple selections clear the selection and do nothing else (so that the second
space triggers the action). Or make the space trigger the best possible action on all selection.
| Robert Roth (evfool) wrote : | # |
I have reverted that change, set back the selection type to multiple, to have at least the rest of the fixes merged, if they seem OK. Maybe I'll try to implement the feature you've suggested (space on multiple selections do something useful) later, or maybe someone else will pick up. Actually I was the one who reported the bug in question, and I was not aware that it does something useful :)
| Sebastien Bacher (seb128) wrote : | # |
@mvo: should we merge that in or do you still have issues with the current version?
| Adolfo Jayme (fitojb) wrote : | # |
*fitoschido has poked you.* ;-)
| Daniel Hartwig (wigs) wrote : | # |
Please reconsider this change:
* Hide the only download packages checkbox if there are no files
to download (LP: #413453)
because it may still be enabled from a previous run (see ::showAndConfirm). The check for “download size is nil” is too simple. You also do *not* want to automagically unset this some times and not others, this is very disruptive behaviour.
To keep things simple, I suggest to revert this change and close the associated bug.
=== modified file 'gtk/rgsummaryw
--- gtk/rgsummarywi
+++ gtk/rgsummarywi
@@ -393,6 +393,7 @@
lister-
+ gtk_widget_
#if 0
if (held) {
char *str = ngettext("%d package is locked\n",
| Daniel Hartwig (wigs) wrote : | # |
Overall I think your work on these usability issues is great.
| Michael Vogt (mvo) wrote : | # |
On Sun, Nov 11, 2012 at 02:57:19PM -0000, Daniel Hartwig wrote:
> Please reconsider this change:
>
> * Hide the only download packages checkbox if there are no files
> to download (LP: #413453)
>
> because it may still be enabled from a previous run (see ::showAndConfirm). The check for “download size is nil” is too simple. You also do *not* want to automagically unset this some times and not others, this is very disruptive behaviour.
>
> To keep things simple, I suggest to revert this change and close the associated bug.
Thanks Daniel, I think this is a valid concern, I reverted this for
now. I hope that is ok with you Robert, please let me know if you have
any alternative ideas, but it seems like its a relatively small change.
Cheers,
Michael
| Robert Roth (evfool) wrote : | # |
Of course it's OK reverting, I have been thinking what I can do about that, that's why I haven't replied yet. But until we find a better solution, let's leave it as is. I haven't even found the bug report related to that change, although as far as I remember I have only committed bug-related changes there.
| Daniel Hartwig (wigs) wrote : | # |
On 14 November 2012 20:12, Robert Roth <email address hidden> wrote:
> Of course it's OK reverting, I have been thinking what I can do
> about that, that's why I haven't replied yet. But until we find a
> better solution, let's leave it as is.
The current code in trunk does not work so well. See my previous
comment. It really should not be left as is.
The better solution here is one of:
- always keep the previous choice for download-only; or
- always unset download-only.
Package management is rather complex, it is not likely that there is
a good metric to decide when to unset this selection and when not—in a
way that a user can accurately anticipate.
Someone has reported that the availability of the option was
unexpected for them, in one situation. Does not mean that anything
more sensible can realisticly be done.
> I haven't even found the bug
> report related to that change, although as far as I remember I have
> only committed bug-related changes there.
| Daniel Hartwig (wigs) wrote : | # |
On 17 November 2012 21:27, Daniel Hartwig <email address hidden> wrote:
> Package management is rather complex, it is not likely that there is
> a good metric to decide when to unset this selection and when not—in a
> way that a user can accurately anticipate.
For what its worth, we have had one or two similar reports against
aptitude, but what can you be expected to do when a user types:
$ aptitude install --download-only some-package
and some-package is already downloaded? Ignore --download-only?

Thanks! Most of this is great, there is one small wishlist item I have:
The link buttons should point to a custom invoke browser method. The rational
is that we don't want to open browser windows as root. So the custom code need
to run something like "sudo -u $PKEXEC_UID xdg-open $link" (or if PKEXEC_UID is
not in the environment $SUDO_USER). There is code in rgmainwindow.cc that does
something like this currently (without the PKEXEC_UID bit). That should probably
move to rutils.{cc,h} and re-used for the link buttons as well. What do you think :) ?