Merge lp:~carifio/seahorse/seahorse-remove-broken-help-buttons into lp:ubuntu/precise/seahorse

Proposed by Mike Carifio
Status: Rejected
Rejected by: Mathieu Trudel-Lapierre
Proposed branch: lp:~carifio/seahorse/seahorse-remove-broken-help-buttons
Merge into: lp:ubuntu/precise/seahorse
Diff against target: 81 lines (+53/-0)
4 files modified
.pc/applied-patches (+1/-0)
debian/changelog (+15/-0)
debian/patches/40_remove_broken_help_buttons.patch (+36/-0)
debian/patches/series (+1/-0)
To merge this branch: bzr merge lp:~carifio/seahorse/seahorse-remove-broken-help-buttons
Reviewer Review Type Date Requested Status
Mathieu Trudel-Lapierre Needs Fixing
Mike Carifio Pending
Review via email: mp+129303@code.launchpad.net

Description of the change

This merge proposal mitigates the issue described in LP:#853137 by making
the help button in certain widgets invisible.

Note that I've chosen to leave the buttons intact but invisible. When
the right help content is authored, then I believe the button
should be exposed again. This change minimizes the amount of work to make
that better solution happen.

To post a comment you must log in.
112. By Mike Carifio

Let the patch do the work.

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

The execution of this fix looks good at first glance, but please follow the comment I've left on bug 853137 to apply for the SRU.

Otherwise, my only concern at this point would be that you should replace UNRELEASED with "precise-proposed" since this is a SRU, and please add DEP-3 tags [1] to your patch :)

[1] http://dep.debian.net/deps/dep3/

review: Needs Fixing
113. By Mike Carifio

Added metadata describing the patch consistent with Debian and
Ubuntu guidelines.

114. By Mike Carifio

UNRELEASED -> precise-proposed

Revision history for this message
Mike Carifio (carifio) wrote :

[IMPACT]

 * There are two help buttons on various dialogs that run
   yelp with non-existant pages.

 * This bug looks bad and mars the experience for end users.
   OEMs don't like that.

 * The fix removes the chance for error by making the help
   buttons invisible.

[TESTCASE]

 * seahorse > (Passsword and Keyss) > [tab] Passwords > Passwors:
   default> [right-click] Properties > "Passwords:default"
   > (dialog window "Passwords:default") > Keyring >
   Name:=default, Created:=(empty) > Help > (Help) > "PageNotFound": >
   The page 'gkr-keyring' was not found in the document 'ghelp:seahorse'.

[Regression Potential]

 * In the worst case scenario, setting the buttons invisible in the glade
   xml could be overridden by seahorse code. The help buttons would then be
   visible. The end user could reproduce the problem. This would mar
   the end user experience. But it wouldn't stop seahorse from doing
   its job.

Revision history for this message
Mike Carifio (carifio) wrote :

My checklist items:

1) Annotate the patch using the Debian and Ubuntu guidelines.

2) Change the series (UNRELEASED -> precise-proposed)

3) Document the SRU using the format summarized at
   http://wiki.ubuntu.com/StableReleaseUpdates#Procedure

Would you like me to request another review? Please advise at your
convenience. Thanks.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks Mike for your work, sorry I worked on that issue around the same time and uploaded those versions as SRU

Your solution would have been border line for a SRU since we try to not change the UI in stable upload, the hack I opted for is to just open the keyring help-page for those buttons:
http://bugzilla-attachments.gnome.org/attachment.cgi?id=226664

That should let the UI as it is but not lead to error pages.

Sorry that your work didn't land in Ubuntu there, I'm sure you will get luckier next time ;-)

Unmerged revisions

114. By Mike Carifio

UNRELEASED -> precise-proposed

113. By Mike Carifio

Added metadata describing the patch consistent with Debian and
Ubuntu guidelines.

112. By Mike Carifio

Let the patch do the work.

111. By Mike Carifio

Reformatted the changelog to be more consistent with debian
formats as I understand them:

* debian/patches/40_remove_broken_help_buttons.patch:
  - gkr/seahorse-gkr-item-properties.xml: Made widget helpbutton1 invisible
    This disables the help button, which has no
    associated content and leads to a yelp error (LP: #853137).
  - gkr/seahorse-gkr-keyring.xml: Made widget helpbutton1 invisible
    This disables the help button, which has no
    associated content and leads to a yelp error.
  - Note: I've chosen to leave the widget intact but invisible. When
    the right help content is authored, then I believe this widget
    should be exposed again.

110. By Mike Carifio

Note: I've chosen to leave the widget intact but invisible. When
the right help content is authored, then I believe this widget
should be exposed again.

109. By Mike Carifio

* debian/patches/40_remove_broken_help_buttons.patch:
  * gkr/seahorse-gkr-item-properties.xml: Made widget helpbutton1 invisible
    This disables the help button, which has no
    associated content and leads to a yelp error (LP: #853137).
  * gkr/seahorse-gkr-keyring.xml: Made widget helpbutton1 invisible
    This disables the help button, which has no
    associated content and leads to a yelp error.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file '.pc/applied-patches'
2--- .pc/applied-patches 2012-04-11 16:06:48 +0000
3+++ .pc/applied-patches 2012-10-18 13:59:24 +0000
4@@ -3,3 +3,4 @@
5 03_broken_search.patch
6 08_force_ssh.patch
7 30_preferences_menu.patch
8+40_remove_broken_help_buttons.patch
9
10=== modified file 'debian/changelog'
11--- debian/changelog 2012-04-11 16:06:48 +0000
12+++ debian/changelog 2012-10-18 13:59:24 +0000
13@@ -1,3 +1,18 @@
14+seahorse (3.2.2-0ubuntu3) precise-proposed; urgency=low
15+
16+ * debian/patches/40_remove_broken_help_buttons.patch:
17+ - gkr/seahorse-gkr-item-properties.xml: Made widget helpbutton1 invisible
18+ This disables the help button, which has no
19+ associated content and leads to a yelp error (LP: #853137).
20+ - gkr/seahorse-gkr-keyring.xml: Made widget helpbutton1 invisible
21+ This disables the help button, which has no
22+ associated content and leads to a yelp error.
23+ - Note: I've chosen to leave the widget intact but invisible. When
24+ the right help content is authored, then I believe this widget
25+ should be exposed again.
26+
27+ -- Mike Carifio <michael.carifio@canonical.com> Thu, 11 Oct 2012 15:46:56 -0400
28+
29 seahorse (3.2.2-0ubuntu2) precise; urgency=low
30
31 * debian/patches/02_broken_search_filter.patch:
32
33=== added file 'debian/patches/40_remove_broken_help_buttons.patch'
34--- debian/patches/40_remove_broken_help_buttons.patch 1970-01-01 00:00:00 +0000
35+++ debian/patches/40_remove_broken_help_buttons.patch 2012-10-18 13:59:24 +0000
36@@ -0,0 +1,36 @@
37+From: Michael Carifio <michael.carifio@canonical.com>
38+Origin: vendor
39+Subject: The page 'gkr-keyring' was not found in the document 'ghelp:seahorse'.
40+Description: Clicking the help button in certain seahorse dialogs causes "page
41+ not found" errors. This patch "removes" the offending buttons by making them
42+ invisible.
43+Bug-Ubuntu: https://launchpad.net/bugs/129303
44+Forwarded: no
45+
46+---
47+
48+Patch metadata based on http://dep.debian.net/deps/dep3/ and
49+https://wiki.ubuntu.com/PackagingGuide/PatchSystems#Patch_Tagging_Guidelines
50+
51+--- a/gkr/seahorse-gkr-item-properties.xml
52++++ b/gkr/seahorse-gkr-item-properties.xml
53+@@ -362,7 +362,7 @@
54+ <child>
55+ <object class="GtkButton" id="helpbutton1">
56+ <property name="label">gtk-help</property>
57+- <property name="visible">True</property>
58++ <property name="visible">False</property>
59+ <property name="can_focus">True</property>
60+ <property name="can_default">True</property>
61+ <property name="receives_default">False</property>
62+--- a/gkr/seahorse-gkr-keyring.xml
63++++ b/gkr/seahorse-gkr-keyring.xml
64+@@ -148,7 +148,7 @@
65+ <child>
66+ <object class="GtkButton" id="helpbutton1">
67+ <property name="label">gtk-help</property>
68+- <property name="visible">True</property>
69++ <property name="visible">False</property>
70+ <property name="can_focus">True</property>
71+ <property name="can_default">True</property>
72+ <property name="receives_default">False</property>
73
74=== modified file 'debian/patches/series'
75--- debian/patches/series 2012-04-11 16:06:48 +0000
76+++ debian/patches/series 2012-10-18 13:59:24 +0000
77@@ -3,3 +3,4 @@
78 03_broken_search.patch
79 08_force_ssh.patch
80 30_preferences_menu.patch
81+40_remove_broken_help_buttons.patch

Subscribers

People subscribed via source and target branches

to all changes: