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 711280 - Print Preview window is inconsistent with respect to the main window
Print Preview window is inconsistent with respect to the main window
Status: RESOLVED OBSOLETE
Product: evince
Classification: Core
Component: general
3.10.x
Other Linux
: High normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-11-02 01:44 UTC by Germán Poo-Caamaño
Modified: 2018-05-22 15:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Preliminary work on making previewer consistent wrt main (5.22 KB, patch)
2013-11-17 16:06 UTC, Juan R. Garcia Blanco
none Details | Review
Migrate to GAction and use header bar. (5.25 KB, patch)
2014-10-19 18:31 UTC, Juan R. Garcia Blanco
none Details | Review

Description Germán Poo-Caamaño 2013-11-02 01:44:42 UTC
The Print Preview window has the old style toolbar, with colored buttons.

It should be consistent with the main window.
Comment 1 Juan R. Garcia Blanco 2013-11-16 23:03:57 UTC
I'd like to give this a try. It's marked as gnome-love bug and I've dug a little bit in the code, and I think I could, at least, start the work to fix this. It should be a work of one day max, I guess.
Comment 2 Juan R. Garcia Blanco 2013-11-17 16:06:13 UTC
Created attachment 260041 [details] [review]
Preliminary work on making previewer consistent wrt main

Please note that many things are missing yet:
- I've not found a document-print-symbolic icon, so I placed a status icon for completeness' sake, but I don't think this is acceptable.
- Zoom actions are completely missing. Here I consider two options. The first one is to create a group of four icons holding the previous zoom actions, but now using symbolic icons. This solution fails because there are missing symbolic icons for best and width fit options. The second solution is to use the zoom-action developed as part of evince shell. This implies moving ev-action* to libmisc, as it's already done with ev-page*. Currently ev-action* depends on EvWindow, but I guess this dependency could be removed. I prefer this second option.

Therefore, there are two points that need clarification:
- What to do with document-print icon?
- Is it accepted to move ev-action* to libmisc and remove the EvWindow dependency?

Thank you.
Comment 3 Carlos Garcia Campos 2014-07-23 15:49:53 UTC
The patch looks good in general, but it needs to be updated to match current main window.

  - Use a header bar
  - Move to GAction

Regarding the icons. For the printer we can simply use printer-symbolic, and we can simply the UI by removing the best-fit/fit-width icons and using automatic sizing mode unconditionally, and zoom in/out buttons.
Comment 4 Juan R. Garcia Blanco 2014-10-11 10:38:59 UTC
Thank you. I'll update it to use GAction, and move the tool buttons to a header bar.
Comment 5 Juan R. Garcia Blanco 2014-10-19 18:31:06 UTC
Created attachment 288859 [details] [review]
Migrate to GAction and use header bar.

I have left some lines commented out in the patch because I do not know if I can remove them (I mean, their equivalents). They refer to sensitivity of installed actions; however, I do not understand why sensitivity changes in some cases, e.g. when EvView receives/losses focus.
Comment 6 GNOME Infrastructure Team 2018-05-22 15:23:12 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/405.