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 786662 - Fix Bluetooth connections in the new Network panel
Fix Bluetooth connections in the new Network panel
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Network
unspecified
Other All
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-08-23 02:15 UTC by Georges Basile Stavracas Neto
Modified: 2017-08-23 13:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
network: Show simple devices in an isolated section (7.21 KB, patch)
2017-08-23 02:15 UTC, Georges Basile Stavracas Neto
committed Details | Review
network: Update NetDeviceSimple layout (23.55 KB, patch)
2017-08-23 02:15 UTC, Georges Basile Stavracas Neto
committed Details | Review

Description Georges Basile Stavracas Neto 2017-08-23 02:15:39 UTC
Bluetooth connections show in the Network panel, but its layout is inconsistent with the rest of the panel.

The patches below temporarily fix that until we move Bluetooth connections to the new Mobile Broadband panel.

(In my defense, I didn't have the hardware to see these connections until 10 days ago)
Comment 1 Georges Basile Stavracas Neto 2017-08-23 02:15:46 UTC
Created attachment 358195 [details] [review]
network: Show simple devices in an isolated section

As a temporary solution until we don't have the Mobile Broadband
panel, the Network panel should take care of simple devices such
as Bluetooth and metered connections, and should do so in such a
way that is consistent with how the rest of devices is managed.

Currently, however, NetDeviceSimple objects still present the old,
grid-based layout, breaking the expectations and completely destroying
the consistency of the panel

This patch moves simple devices to a section of its own. The next
patch will update the visuals to match the other devices.
Comment 2 Georges Basile Stavracas Neto 2017-08-23 02:15:52 UTC
Created attachment 358196 [details] [review]
network: Update NetDeviceSimple layout

Following the previous commit, this patch adapts the
NetDeviceSimple layout to be consistent with the other
devices in the Network panel.

This is, however, a temporary solution, for simple devices
will be handled in a separate panel in the future.
Comment 3 Rui Matos 2017-08-23 12:17:22 UTC
Review of attachment 358195 [details] [review]:

ok
Comment 4 Rui Matos 2017-08-23 12:28:10 UTC
Review of attachment 358196 [details] [review]:

lgtm

::: panels/network/net-device-simple.c
@@ +48,3 @@
+        GtkWidget *widget;
+
+        /* add widgets to size group */

this comment doesn't make sense

@@ -50,3 @@
         NetDeviceSimple *device_simple = NET_DEVICE_SIMPLE (object);
 
         /* add widgets to size group */

comment should go too
Comment 5 Rui Matos 2017-08-23 13:17:47 UTC
Attachment 358195 [details] pushed as d5de1d2 - network: Show simple devices in an isolated section
Attachment 358196 [details] pushed as 4922f37 - network: Update NetDeviceSimple layout