After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 786689 - "Enter URL" has inconsistent "go back" UI
"Enter URL" has inconsistent "go back" UI
Status: RESOLVED OBSOLETE
Product: gnome-boxes
Classification: Applications
Component: wizard
3.22.x
Other All
: Normal normal
: --
Assigned To: GNOME Boxes maintainer(s)
GNOME Boxes maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-08-23 16:26 UTC by Debarshi Ray
Modified: 2018-01-11 10:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot of the "Enter URL" page (with the bug) (23.74 KB, image/png)
2017-08-23 16:26 UTC, Debarshi Ray
  Details
wizard, wizard-source: Use the headerbar to go back from "Enter URL" (5.67 KB, patch)
2017-08-23 16:46 UTC, Debarshi Ray
none Details | Review
wizard-source: Use 'requires' instead of 'assert' (1.20 KB, patch)
2017-08-23 16:46 UTC, Debarshi Ray
none Details | Review
Screenshot of the "Enter URL" page (with the patches) (21.44 KB, image/png)
2017-08-23 16:51 UTC, Debarshi Ray
  Details
wizard, wizard-source: Use the headerbar to go back from "Enter URL" (6.14 KB, patch)
2017-08-24 12:10 UTC, Debarshi Ray
none Details | Review
wizard-source: Use 'requires' instead of 'assert' (1.23 KB, patch)
2017-08-24 12:10 UTC, Debarshi Ray
none Details | Review
wizard, wizard-source: Use the headerbar to go back from "Enter URL" (5.34 KB, patch)
2017-09-06 15:13 UTC, Debarshi Ray
none Details | Review
wizard-source: Use 'requires' instead of 'assert' (1.06 KB, patch)
2017-09-06 15:13 UTC, Debarshi Ray
none Details | Review

Description Debarshi Ray 2017-08-23 16:26:20 UTC
Created attachment 358250 [details]
Screenshot of the "Enter URL" page (with the bug)

The New -> Enter URL page is inconsistent with all the other pages in the WizardWindow when it comes to the behaviour of the "go back" UI. Others use the "back" button in the WizardToolbar headerbar. However, this one uses a strange looking (rounded lower left and right corners) GtkButton in the content area that says "< Enter URL", and the "back" button in the header bar is disabled.

While there are bigger issues with this page (eg., bug 776955), this is relatively easier to fix.
Comment 1 Debarshi Ray 2017-08-23 16:41:12 UTC
Also, the alt+<left> keyboard shortcut doesn't work.
Comment 2 Debarshi Ray 2017-08-23 16:46:37 UTC
Created attachment 358251 [details] [review]
wizard, wizard-source: Use the headerbar to go back from "Enter URL"
Comment 3 Debarshi Ray 2017-08-23 16:46:54 UTC
Created attachment 358252 [details] [review]
wizard-source: Use 'requires' instead of 'assert'
Comment 4 Debarshi Ray 2017-08-23 16:51:00 UTC
Created attachment 358253 [details]
Screenshot of the "Enter URL" page (with the patches)
Comment 5 Debarshi Ray 2017-08-24 08:52:14 UTC
Review of attachment 358251 [details] [review]:

I found a problem. Clicking "back" once the download in progress skips back two steps to the main screen instead of presenting "enter URL" again.
Comment 6 Debarshi Ray 2017-08-24 12:10:16 UTC
Created attachment 358326 [details] [review]
wizard, wizard-source: Use the headerbar to go back from "Enter URL"

This makes things simpler by handling the back button in one place instead of having it spread across the Wizard and WizardSource. Otherwise the page changes done by one handler confuses the other.
Comment 7 Debarshi Ray 2017-08-24 12:10:32 UTC
Created attachment 358327 [details] [review]
wizard-source: Use 'requires' instead of 'assert'
Comment 8 Debarshi Ray 2017-09-06 15:13:42 UTC
Created attachment 359278 [details] [review]
wizard, wizard-source: Use the headerbar to go back from "Enter URL"

Another level of simplification by updating the sensitivity of the back button only in Wizard.
Comment 9 Debarshi Ray 2017-09-06 15:13:57 UTC
Created attachment 359279 [details] [review]
wizard-source: Use 'requires' instead of 'assert'
Comment 10 Debarshi Ray 2017-09-25 13:36:49 UTC
For the sake of leaving a paper trail: I learnt from Felipe that Jimmac prefers the existing UI.
Comment 11 GNOME Infrastructure Team 2018-01-11 10:59:56 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-boxes/issues/165.