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 319402 - resize properties window
resize properties window
Status: RESOLVED OBSOLETE
Product: evince
Classification: Core
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Evince Maintainers
Evince Maintainers
: 528455 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-10-21 12:04 UTC by Pablo Rodríguez
Modified: 2018-05-22 13:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
evince PDF properties window (37.86 KB, image/png)
2005-10-21 12:04 UTC, Pablo Rodríguez
Details
gpdf PDF properties window (38.96 KB, image/png)
2005-10-21 12:05 UTC, Pablo Rodríguez
Details
metadata window properties wrong displayed (12.12 KB, image/png)
2009-01-21 11:23 UTC, Pablo Rodríguez
Details
metadata right wrapped (20.40 KB, image/png)
2009-01-21 23:05 UTC, Pablo Rodríguez
Details

Description Pablo Rodríguez 2005-10-21 12:04:00 UTC
evince should resize the pdf window width according to the fields length.

See the contrast between gpdf and evince properties windows (attached).
Comment 1 Pablo Rodríguez 2005-10-21 12:04:30 UTC
Created attachment 53726 [details]
evince PDF properties window
Comment 2 Pablo Rodríguez 2005-10-21 12:05:22 UTC
Created attachment 53727 [details]
gpdf PDF properties window
Comment 3 Lionel Dricot 2006-04-11 19:05:58 UTC
Perhaps not a good idea because you will have quickly a bigger than screen box that you couln't close easily! 
Comment 4 Pablo Rodríguez 2006-04-11 19:36:45 UTC
I don't see any problem with this, since the information window is closed with the Enter key. And I think it is easier by far than the resizing the info window (Alt+F10 doesn't work for this window). At least for me it is easier.
Comment 5 Carlos Garcia Campos 2008-04-19 09:32:52 UTC
*** Bug 528455 has been marked as a duplicate of this bug. ***
Comment 6 Pablo Rodríguez 2008-04-22 18:00:34 UTC
I don't think bug 528455 is a duplicate of this bug.

According to my screenshot, my issue was that the window is too narrow for one of the fields. And according to Pedro's description the properties window is too wide.

I guess then that this bug has been fixed and the other one should be fixed with the solution suggested by Pedro.

Thanks for your work,


Pablo
Comment 7 Pablo Rodríguez 2009-01-21 11:23:31 UTC
Created attachment 126910 [details]
metadata window properties wrong displayed
Comment 8 Pablo Rodríguez 2009-01-21 23:05:48 UTC
Created attachment 126951 [details]
metadata right wrapped

Modifying ev-properties-view.c in the following way:

--- ev-properties-view.c	2009-01-21 23:35:36.000000000 +0100
+++ evince-2.25.5/properties/ev-properties-view.c	2009-01-21 23:09:53.000000000 +0100
@@ -192,9 +192,10 @@
     label = gtk_label_new (NULL);
     g_object_set (G_OBJECT (label),
               "xalign", 0.0,
-              "width_chars", 25,
+              "width_chars", -1,
               "selectable", TRUE,
-              "ellipsize", PANGO_ELLIPSIZE_END,
+              "wrap", TRUE,
+              "wrap-mode", PANGO_WRAP_WORD,
               NULL);

metadata fields are wrapped as shown in the attachment.

Just in case it might help, please check the code, since I don't know whether this is wrong (I cannot code).

Thanks,


Pablo
Comment 9 Nickolay V. Shmyrev 2009-01-21 23:10:53 UTC
The issue is that nautilus property page includes this page as well and it can be expanded that easy.
Comment 10 GNOME Infrastructure Team 2018-05-22 13:06:13 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/evince/issues/17.