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 786607 - Open "Settings" should open the last opened panel
Open "Settings" should open the last opened panel
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: shell
3.25.x
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-08-22 12:57 UTC by Bastien Nocera
Modified: 2018-02-06 09:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
shell: Remember the last used panel (3.96 KB, patch)
2017-08-22 16:18 UTC, Bastien Nocera
none Details | Review
shell: Remember the last used panel (4.12 KB, patch)
2018-01-27 16:18 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2017-08-22 12:57:08 UTC
Rather than always opening the Wi-Fi section when clicking on the Settings button in the status menu, we should open the last opened panel. It's likely that the user would want to make more changes in the same section, but if not, the other panel is at most 2 clicks away.
Comment 1 Allan Day 2017-08-22 15:55:31 UTC
I'm not sure. We've discussed this kind of behaviour in other contexts and it's generally not something that the GNOME apps do. For example, if you open Documents it doesn't display the last viewed document.

While showing the last location will be convenient in some cases, it could be confusing/disorientating in others, and will require the user to back out to the start before they can navigate to where they want to go.
Comment 2 Bastien Nocera 2017-08-22 16:06:40 UTC
- It makes it easier to test something out, before changing one's mind
- It minimises the pain of accessing the "devices" section (with the default window size, you need to scroll and click in the sub-section before clicking on the device you want to configure)

Also, Settings is not a document viewer.

I've got a patch nearly ready to be able to test this out. We'll see whether it makes things better or not.
Comment 3 Bastien Nocera 2017-08-22 16:18:12 UTC
Created attachment 358170 [details] [review]
shell: Remember the last used panel

And restore it if the application is launched without any panels
requested.
Comment 4 Georges Basile Stavracas Neto 2018-01-26 22:09:40 UTC
Review of attachment 358170 [details] [review]:

This patch is obsolete since we don't use Autotools anymore. I for one also dislike the idea of opening the previous panel on startup.
Comment 5 Bastien Nocera 2018-01-27 16:18:31 UTC
Created attachment 367525 [details] [review]
shell: Remember the last used panel

And restore it if the application is launched without any panels
requested.
Comment 6 Bastien Nocera 2018-01-27 16:21:16 UTC
(In reply to Georges Basile Stavracas Neto from comment #4)
> Review of attachment 358170 [details] [review] [review]:
> 
> This patch is obsolete since we don't use Autotools anymore. I for one also
> dislike the idea of opening the previous panel on startup.

And I really like it, it's the way the Settings app works on iOS as well, and I find that when I make a change, exit, and want to tweak it again, it's really quick to tweak it again.

I'd encourage you to try it out, and see whether Wi-Fi is really the panel you want to have open every time you launch g-c-c.
Comment 7 Marcus Lundblad 2018-01-30 11:58:29 UTC
(In reply to Bastien Nocera from comment #6)
> (In reply to Georges Basile Stavracas Neto from comment #4)
> > Review of attachment 358170 [details] [review] [review] [review]:
> > 
> > This patch is obsolete since we don't use Autotools anymore. I for one also
> > dislike the idea of opening the previous panel on startup.
> 
> And I really like it, it's the way the Settings app works on iOS as well,
> and I find that when I make a change, exit, and want to tweak it again, it's
> really quick to tweak it again.
> 
> I'd encourage you to try it out, and see whether Wi-Fi is really the panel
> you want to have open every time you launch g-c-c.

Besides, having it always open Wi-Fi on my desktop (which lacks Wi-Fi hardware) is a bit annoying. I tend to use Settings in 90+% cases to switch b/w line out and my USB headset…
Comment 8 Bastien Nocera 2018-02-06 09:47:14 UTC
Attachment 367525 [details] pushed as 10738d6 - shell: Remember the last used panel