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 771653 - Properties page width is too small
Properties page width is too small
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: Properties page
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
: 778411 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2016-09-19 12:06 UTC by Hussam Al-Tayeb
Modified: 2017-03-03 13:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Totem properties page. (192.37 KB, image/png)
2016-09-19 12:06 UTC, Hussam Al-Tayeb
  Details
data: Initial changes made on glade first save (36.82 KB, patch)
2016-12-04 08:44 UTC, gnome.vrb
committed Details | Review
data: GtkVBox to GtkBox (2.14 KB, patch)
2016-12-04 08:47 UTC, gnome.vrb
committed Details | Review
data: Replace packing properties for labels (15.66 KB, patch)
2016-12-04 08:48 UTC, gnome.vrb
committed Details | Review
data: GtkTable to GtkGrid (2.89 KB, patch)
2016-12-04 08:49 UTC, gnome.vrb
committed Details | Review
data: Update padding / width / margin values to decent defaults (2.20 KB, patch)
2016-12-04 08:49 UTC, gnome.vrb
reviewed Details | Review
data: Remove deprecated GtkAlignment ( please review no space version diff ) (52.24 KB, patch)
2016-12-06 15:01 UTC, gnome.vrb
committed Details | Review
data: Replace GtkAlignment::left_padding with GtkWidget::margin_start (7.11 KB, patch)
2016-12-06 15:02 UTC, gnome.vrb
committed Details | Review
data: Update width_request and margin_bottom values to decent defaults (943 bytes, patch)
2016-12-06 15:02 UTC, gnome.vrb
committed Details | Review
data: Remove deprecated GtkAlignment ( no space diff for review ) (2.60 KB, text/plain)
2016-12-10 11:12 UTC, gnome.vrb
  Details

Description Hussam Al-Tayeb 2016-09-19 12:06:27 UTC
Created attachment 335851 [details]
Totem properties page.

Totem properties page for videos width is too small.
Note the attached screenshot.
This is likely due to gtk+ 3.21.xx sizing changes?
Comment 1 gnome.vrb 2016-12-04 08:44:50 UTC
Created attachment 341339 [details] [review]
data: Initial changes made on glade first save
Comment 2 gnome.vrb 2016-12-04 08:47:36 UTC
Created attachment 341340 [details] [review]
data: GtkVBox to GtkBox
Comment 3 gnome.vrb 2016-12-04 08:48:16 UTC
Created attachment 341341 [details] [review]
data: Replace packing properties for labels
Comment 4 gnome.vrb 2016-12-04 08:49:21 UTC
Created attachment 341342 [details] [review]
data: GtkTable to GtkGrid
Comment 5 gnome.vrb 2016-12-04 08:49:26 UTC
Created attachment 341343 [details] [review]
data: Update padding / width / margin values to decent defaults
Comment 6 Hussam Al-Tayeb 2016-12-04 09:31:19 UTC
The patches work perfectly. Thank you.
They also fix the "Audio/Video" property page in nautilus.
Comment 7 Philip Withnall 2016-12-05 23:02:19 UTC
Review of attachment 341339 [details] [review]:

Pointless, but harmless.
Comment 8 Philip Withnall 2016-12-05 23:02:31 UTC
Review of attachment 341340 [details] [review]:

Looks good.
Comment 9 Philip Withnall 2016-12-05 23:04:02 UTC
Review of attachment 341342 [details] [review]:

Looks OK.
Comment 10 Philip Withnall 2016-12-05 23:05:24 UTC
Review of attachment 341343 [details] [review]:

::: data/properties.ui
@@ +38,3 @@
             <property name="visible">True</property>
             <property name="can_focus">False</property>
+            <property name="left_padding">20</property>

The HIG says to use 18, if I’m interpreting it correctly.

https://developer.gnome.org/hig/unstable/visual-layout.html.en
Comment 11 gnome.vrb 2016-12-06 14:53:23 UTC
(In reply to Philip Withnall from comment #10)
> Review of attachment 341343 [details] [review] [review]:
> 
> ::: data/properties.ui
> @@ +38,3 @@
>              <property name="visible">True</property>
>              <property name="can_focus">False</property>
> +            <property name="left_padding">20</property>
> 
> The HIG says to use 18, if I’m interpreting it correctly.
> 
> https://developer.gnome.org/hig/unstable/visual-layout.html.en

That is right. I'm using GtkWidget::margin_start of 12px ( as there is already a 6 px border, which adds to 18px ). Removing deprecated GtkAlignment totally. So, this patch is now replaced by the 3 following patches.
Comment 12 gnome.vrb 2016-12-06 15:01:39 UTC
Created attachment 341483 [details] [review]
data: Remove deprecated GtkAlignment ( please review no space version diff )
Comment 13 gnome.vrb 2016-12-06 15:02:03 UTC
Created attachment 341484 [details] [review]
data: Replace GtkAlignment::left_padding with GtkWidget::margin_start
Comment 14 gnome.vrb 2016-12-06 15:02:12 UTC
Created attachment 341485 [details] [review]
data: Update width_request and margin_bottom values to decent defaults
Comment 15 gnome.vrb 2016-12-10 11:12:18 UTC
Created attachment 341715 [details]
data: Remove deprecated GtkAlignment ( no space diff for review )

(In reply to vrishab from comment #12)
> Created attachment 341483 [details] [review] [review]
> data: Remove deprecated GtkAlignment

Attaching "no space" version of this patch for easy review. ( Not marking it as patch )
Comment 16 Philip Withnall 2016-12-27 18:21:42 UTC
Having tested all the patches together, this seems to work. Thanks!
Comment 17 Philip Withnall 2016-12-27 18:24:09 UTC
Attachment 341339 [details] pushed as a8737d6 - data: Initial changes made on glade first save
Attachment 341340 [details] pushed as c52d365 - data: GtkVBox to GtkBox
Attachment 341341 [details] pushed as ee2f6c1 - data: Replace packing properties for labels
Attachment 341342 [details] pushed as c37295a - data: GtkTable to GtkGrid
Attachment 341484 [details] pushed as ddbad12 - data: Replace GtkAlignment::left_padding with GtkWidget::margin_start
Attachment 341485 [details] pushed as 6631b0d - data: Update width_request and margin_bottom values to decent defaults
Comment 18 Bastien Nocera 2017-03-03 13:40:15 UTC
*** Bug 778411 has been marked as a duplicate of this bug. ***