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 783176 - Tweak Tool: Implement Design mockups
Tweak Tool: Implement Design mockups
Status: RESOLVED OBSOLETE
Product: gnome-tweak-tool
Classification: Applications
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: GNOME Tweak Tool maintainer(s)
GNOME Tweak Tool maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-05-28 17:08 UTC by Jeremy Bicha
Modified: 2018-01-24 15:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
shell.css: Don't override the sidebar bg color (677 bytes, patch)
2017-05-28 17:08 UTC, Jeremy Bicha
committed Details | Review
appearance: Implement mockup from Design Team (3.43 KB, patch)
2017-05-28 17:16 UTC, Jeremy Bicha
committed Details | Review
desktop: Implement mockup from Design Team (4.37 KB, patch)
2017-05-28 17:18 UTC, Jeremy Bicha
committed Details | Review
widgets: Add optional desc property to GSettingsSwitchTweak (2.31 KB, patch)
2017-05-28 17:18 UTC, Jeremy Bicha
committed Details | Review
keymouse: Partially implement mockup from Design Team (2.98 KB, patch)
2017-05-28 17:20 UTC, Jeremy Bicha
committed Details | Review
keymouse: Change Key theme ComboBox to Emacs Input Switch (2.83 KB, patch)
2017-05-28 17:21 UTC, Jeremy Bicha
committed Details | Review
keymouse: Change Overview Shortcut ComboBox to ButtonBox (3.66 KB, patch)
2017-05-28 17:22 UTC, Jeremy Bicha
none Details | Review
windows: Implement mockup from Design Team (3.27 KB, patch)
2017-05-28 21:14 UTC, Jeremy Bicha
committed Details | Review
keymouse: Change Overview Shortcut ComboBox to ButtonBox (3.52 KB, patch)
2017-05-29 00:02 UTC, Jeremy Bicha
none Details | Review
keymouse: Change Overview Shortcut ComboBox to ButtonBox (3.53 KB, patch)
2017-05-29 00:23 UTC, Jeremy Bicha
none Details | Review
keymouse: Change Overview Shortcut ComboBox to ButtonBox (3.42 KB, patch)
2017-05-29 01:57 UTC, Jeremy Bicha
committed Details | Review
split tweak_group_shell.py into separate source files (16.10 KB, patch)
2017-05-29 19:27 UTC, Jeremy Bicha
committed Details | Review
power: Implement mockup from Design Team (2.46 KB, patch)
2017-05-29 19:28 UTC, Jeremy Bicha
none Details | Review
top_bar: Implement mockup from Design Team (2.47 KB, patch)
2017-05-29 19:28 UTC, Jeremy Bicha
committed Details | Review
workspaces: Partially implement mockup from Design Team (1.46 KB, patch)
2017-05-29 19:28 UTC, Jeremy Bicha
committed Details | Review
power: Implement mockup from Design Team (2.48 KB, patch)
2017-05-30 11:38 UTC, Jeremy Bicha
none Details | Review
power: Implement mockup from Design Team (2.42 KB, patch)
2017-05-30 11:42 UTC, Jeremy Bicha
committed Details | Review
keymouse: Move xkb panel to Additional Layout Options dialog (4.03 KB, patch)
2017-06-10 03:55 UTC, Jeremy Bicha
committed Details | Review

Description Jeremy Bicha 2017-05-28 17:08:32 UTC
The hard part will be dealing with Tweak's Tools disguised ListBoxRows for almost everything, but we can at least get closer to the Design mockup.

https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/tweak-tool/tweak-tool-wires.png

shell.css: Don't override the sidebar bg color
Comment 1 Jeremy Bicha 2017-05-28 17:08:35 UTC
Created attachment 352722 [details] [review]
shell.css: Don't override the sidebar bg color

This more closely resembles the UI of the
gnome-control-center redesign
Comment 2 Jeremy Bicha 2017-05-28 17:16:04 UTC
Created attachment 352723 [details] [review]
appearance: Implement mockup from Design Team

Mockup says "System" theme, but I left it as "Shell" theme since that seems clearer to me.
Comment 3 Jeremy Bicha 2017-05-28 17:18:01 UTC
Created attachment 352725 [details] [review]
desktop: Implement mockup from Design Team

Mockup shows "Image File" for Background but "Image" for Lock Screen, so I just used "Image" for both for now.
Comment 4 Jeremy Bicha 2017-05-28 17:18:34 UTC
Created attachment 352726 [details] [review]
widgets: Add optional desc property to GSettingsSwitchTweak

This allows for a "subtitle" to explain Switches
Comment 5 Jeremy Bicha 2017-05-28 17:20:00 UTC
Created attachment 352727 [details] [review]
keymouse: Partially implement mockup from Design Team

Mockup says "Input Methods" but gnome-control-center says "Input Sources" so I kept the "Sources" name for now.
Comment 6 Jeremy Bicha 2017-05-28 17:21:05 UTC
Created attachment 352728 [details] [review]
keymouse: Change Key theme ComboBox to Emacs Input Switch
Comment 7 Jeremy Bicha 2017-05-28 17:22:18 UTC
Created attachment 352729 [details] [review]
keymouse: Change Overview Shortcut ComboBox to ButtonBox
Comment 8 Jeremy Bicha 2017-05-28 21:14:28 UTC
Created attachment 352738 [details] [review]
windows: Implement mockup from Design Team
Comment 9 Jeremy Bicha 2017-05-29 00:02:32 UTC
Created attachment 352746 [details] [review]
keymouse: Change Overview Shortcut ComboBox to ButtonBox

(drop some unnecessary lines from previous version of this patch)
Comment 10 Jeremy Bicha 2017-05-29 00:23:33 UTC
Created attachment 352747 [details] [review]
keymouse: Change Overview Shortcut ComboBox to ButtonBox

(fixes previous version of this patch by not setting ButtonBox to expand)
Comment 11 Jeremy Bicha 2017-05-29 01:57:31 UTC
Created attachment 352750 [details] [review]
keymouse: Change Overview Shortcut ComboBox to ButtonBox

(fix warning in previous version of this patch)
Comment 12 Rui Matos 2017-05-29 14:29:32 UTC
Review of attachment 352722 [details] [review]:

might as well remove the css class from the code (in tweakview.py)
Comment 13 Rui Matos 2017-05-29 14:41:45 UTC
Review of attachment 352723 [details] [review]:

ok
Comment 14 Rui Matos 2017-05-29 14:46:12 UTC
Review of attachment 352725 [details] [review]:

unsure about the removal of the computer icon tweak, after all this is the tweak tool and we have the setting...
Comment 15 Rui Matos 2017-05-29 14:48:32 UTC
Review of attachment 352726 [details] [review]:

looks fine
Comment 16 Rui Matos 2017-05-29 14:49:24 UTC
Review of attachment 352727 [details] [review]:

++
Comment 17 Jeremy Bicha 2017-05-29 14:50:58 UTC
(In reply to Rui Matos from comment #12)
> Review of attachment 352722 [details] [review] [review]:
> 
> might as well remove the css class from the code (in tweakview.py)

Maybe leave it in case theme designers still want to theme that?
Comment 18 Jeremy Bicha 2017-05-29 14:51:53 UTC
(In reply to Rui Matos from comment #14)
> Review of attachment 352725 [details] [review] [review]:
> 
> unsure about the removal of the computer icon tweak, after all this is the
> tweak tool and we have the setting...

Sadly, that setting was removed years ago from nautilus

https://git.gnome.org/browse/nautilus/commit/?id=331860
Comment 19 Rui Matos 2017-05-29 14:54:13 UTC
Review of attachment 352728 [details] [review]:

Not sure about this one...

(YOU'RE TAKING OPTIONS AWAY!!!1!)
Comment 20 Jeremy Bicha 2017-05-29 14:58:50 UTC
(In reply to Rui Matos from comment #19)
> Review of attachment 352728 [details] [review] [review]:
> 
> Not sure about this one...
> 
> (YOU'RE TAKING OPTIONS AWAY!!!1!)

I did look around first. The only gtk-keys.css available in Debian is for Emacs. I guess someone could make a custom file, but it seems a pretty obscure feature right now.
Comment 21 Rui Matos 2017-05-29 15:00:07 UTC
Review of attachment 352738 [details] [review]:

looks nice
Comment 22 Rui Matos 2017-05-29 15:03:54 UTC
Review of attachment 352750 [details] [review]:

lgtm
Comment 23 Rui Matos 2017-05-29 15:05:47 UTC
Review of attachment 352728 [details] [review]:

(In reply to Jeremy Bicha from comment #20)
> I did look around first. The only gtk-keys.css available in Debian is for
> Emacs. I guess someone could make a custom file, but it seems a pretty
> obscure feature right now.

Fair enough
Comment 24 Rui Matos 2017-05-29 15:07:09 UTC
(In reply to Jeremy Bicha from comment #18)
> Sadly, that setting was removed years ago from nautilus
> 
> https://git.gnome.org/browse/nautilus/commit/?id=331860

Ok, let's push it then

(In reply to Jeremy Bicha from comment #17)
> > might as well remove the css class from the code (in tweakview.py)
> 
> Maybe leave it in case theme designers still want to theme that?

indeed it doesn't hurt.

Thanks for the patches!
Comment 25 Jeremy Bicha 2017-05-29 15:09:27 UTC
Attachment 352723 [details] pushed as f16dc6c - appearance: Implement mockup from Design Team
Attachment 352725 [details] pushed as 71d001d - desktop: Implement mockup from Design Team
Attachment 352726 [details] pushed as d960b51 - widgets: Add optional desc property to GSettingsSwitchTweak
Attachment 352727 [details] pushed as de2de84 - keymouse: Partially implement mockup from Design Team
Attachment 352728 [details] pushed as cbf4c0b - keymouse: Change Key theme ComboBox to Emacs Input Switch
Attachment 352738 [details] pushed as 650494c - windows: Implement mockup from Design Team
Attachment 352750 [details] pushed as d0a044c - keymouse: Change Overview Shortcut ComboBox to ButtonBox
Comment 26 Jeremy Bicha 2017-05-29 15:10:23 UTC
Comment on attachment 352722 [details] [review]
shell.css: Don't override the sidebar bg color

Attachment 352722 [details] pushed as 5c0c27c - shell.css: Don't override the sidebar bg color
Comment 27 Jeremy Bicha 2017-05-29 19:27:37 UTC
Created attachment 352820 [details] [review]
split tweak_group_shell.py into separate source files
Comment 28 Jeremy Bicha 2017-05-29 19:28:08 UTC
Created attachment 352821 [details] [review]
power: Implement mockup from Design Team

The dropped settings were dropped from gnome-settings-daemon in 2012
https://git.gnome.org/browse/gnome-settings-daemon/commit/data/?id=a95d9c
https://git.gnome.org/browse/gnome-settings-daemon/commit/data/?id=58cb4e
Comment 29 Jeremy Bicha 2017-05-29 19:28:23 UTC
Created attachment 352822 [details] [review]
top_bar: Implement mockup from Design Team
Comment 30 Jeremy Bicha 2017-05-29 19:28:37 UTC
Created attachment 352823 [details] [review]
workspaces: Partially implement mockup from Design Team
Comment 31 Rui Matos 2017-05-30 10:22:43 UTC
Review of attachment 352823 [details] [review]:

ok
Comment 32 Rui Matos 2017-05-30 10:22:44 UTC
Review of attachment 352822 [details] [review]:

ok
Comment 33 Rui Matos 2017-05-30 10:22:51 UTC
Review of attachment 352821 [details] [review]:

::: gtweak/tweaks/tweak_group_power.py
@@ +62,3 @@
         IgnoreLidSwitchTweak(),
+        Title(_("Power Button Behavior"), "", uid="title-theme"),
+        GSettingsComboEnumTweak("", "org.gnome.settings-daemon.plugins.power", "power-button-action", size_group=sg),

a title and a "disconnected" combo box looks odd
Comment 34 Rui Matos 2017-05-30 10:22:54 UTC
Review of attachment 352820 [details] [review]:

ok, that's fair
Comment 35 Jeremy Bicha 2017-05-30 11:13:24 UTC
Attachment 352820 [details] pushed as 702781f - split tweak_group_shell.py into separate source files
Attachment 352822 [details] pushed as 0732236 - top_bar: Implement mockup from Design Team
Attachment 352823 [details] pushed as e3249e5 - workspaces: Partially implement mockup from Design Team
Comment 36 Alberts Muktupāvels 2017-05-30 11:29:51 UTC
Making all in po
make[1]: Entering directory '/mnt/wd20ezrx-00dc0b0/JHBuild/3.26/checkout/gnome-tweak-tool/po'
make gnome-tweak-tool.pot-update
make[2]: Entering directory '/mnt/wd20ezrx-00dc0b0/JHBuild/3.26/checkout/gnome-tweak-tool/po'
make[2]: *** No rule to make target '../gtweak/tweaks/tweak_group_shell.py', needed by 'gnome-tweak-tool.pot-update'.  Stop.
make[2]: Leaving directory '/mnt/wd20ezrx-00dc0b0/JHBuild/3.26/checkout/gnome-tweak-tool/po'
Makefile:307: recipe for target 'gnome-tweak-tool.pot' failed
make[1]: *** [gnome-tweak-tool.pot] Error 2
make[1]: Leaving directory '/mnt/wd20ezrx-00dc0b0/JHBuild/3.26/checkout/gnome-tweak-tool/po'
Makefile:625: recipe for target 'all-recursive' failed
Comment 37 Jeremy Bicha 2017-05-30 11:38:13 UTC
Created attachment 352862 [details] [review]
power: Implement mockup from Design Team

ok, here's an updated version without the "disconnected" combo box
Comment 38 Jeremy Bicha 2017-05-30 11:42:14 UTC
Created attachment 352863 [details] [review]
power: Implement mockup from Design Team
Comment 39 Jeremy Bicha 2017-05-30 11:44:09 UTC
Alberts, thanks. That should be fixed now.
Comment 40 Rui Matos 2017-05-30 12:27:29 UTC
Review of attachment 352863 [details] [review]:

ok, thanks
Comment 41 Jeremy Bicha 2017-05-30 12:32:56 UTC
Comment on attachment 352863 [details] [review]
power: Implement mockup from Design Team

Attachment 352863 [details] pushed as 1fa51a1 - power: Implement mockup from Design Team
Comment 42 Jeremy Bicha 2017-06-10 03:55:22 UTC
Created attachment 353507 [details] [review]
keymouse: Move xkb panel to Additional Layout Options dialog

https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/tweak-tool/tweak-tool-wires.png
Comment 43 Jeremy Bicha 2017-06-10 13:05:15 UTC
Comment on attachment 353507 [details] [review]
keymouse: Move xkb panel to Additional Layout Options dialog

Attachment 353507 [details] pushed as 5108621 - keymouse: Move xkb panel to Additional Layout Options dialog
Comment 44 GNOME Infrastructure Team 2018-01-24 15:22:17 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-tweaks/issues/92.