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 739736 - Nautilus/Files preferences window is much too wide (takes width from single-line label)
Nautilus/Files preferences window is much too wide (takes width from single-l...
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Preferences
3.14.x
Other Linux
: Normal normal
: 3.16
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-11-06 13:47 UTC by Robin Stocker
Modified: 2015-08-23 17:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot of how the preference window looks after opening (in German) (30.52 KB, image/png)
2014-11-06 13:47 UTC, Robin Stocker
  Details
Preferences window in nautilus master (24.00 KB, image/png)
2015-03-01 13:20 UTC, Muhammet Kara
  Details
Wrap a long label (1.97 KB, patch)
2015-06-19 11:04 UTC, Matthias Clasen
committed Details | Review
Fix line wrapping in file properties dialog (1.14 KB, patch)
2015-08-23 17:20 UTC, Michael Catanzaro
none Details | Review

Description Robin Stocker 2014-11-06 13:47:00 UTC
Created attachment 290103 [details]
screenshot of how the preference window looks after opening (in German)

It looks like the width of the preferences window is determined by the length of the description label in the "Display" tab (and the label doesn't wrap).

In German, this label is a bit longer than in English, so the window is really really wide, see attached screenshot.

Even in English it's noticeable that it's a bit too wide. The window size should probably not be determined by that label, but instead the label should wrap.

This is with Files 3.14.0, GTK+ 3.14.4, Fedora 21.
Comment 1 Jean-François Fortin Tam 2014-11-19 02:59:27 UTC
Dear Nautilus maintainers, this is due to a change in GTK 3.12+.
See bug #729532 for the solution.
Bug #728218 is an example of an implementation of the fix.
Comment 2 Muhammet Kara 2015-03-01 13:20:45 UTC
Created attachment 298208 [details]
Preferences window in nautilus master

Is this bug still valid?

I opened the preferences dialog in nautilus 3.15, and the labels seem to be wrapping just fine.
Comment 3 Robin Stocker 2015-03-20 11:58:32 UTC
Can't test on 3.15 yet, but from your screenshot it looks like the label now wraps and the window has a sane size.

Let's close this, I can always reopen it.
Comment 4 Jean-François Fortin Tam 2015-05-29 00:58:37 UTC
I'm still seeing this with the fr_CA.UTF8 locale on 3.16.
Comment 5 Christian Stadelmann 2015-06-16 21:59:30 UTC
Same with de_DE on 3.16 (Fedora 22).
Comment 6 Matthias Clasen 2015-06-19 11:04:22 UTC
Created attachment 305682 [details] [review]
Wrap a long label

Some of the labels in the preferences tends to have very long
labels. Limit their width to 65 characters and allow them to break.
Comment 7 Matthias Clasen 2015-08-23 16:50:36 UTC
Attachment 305682 [details] pushed as f40609d - Wrap a long label
Comment 8 Michael Catanzaro 2015-08-23 17:20:54 UTC
Created attachment 309892 [details] [review]
Fix line wrapping in file properties dialog

Previously GTK+ picked some default width for these labels.
Comment 9 Michael Catanzaro 2015-08-23 17:21:21 UTC
Comment on attachment 309892 [details] [review]
Fix line wrapping in file properties dialog

(Wrong bug)