eog should consider menubar size when creating windows to avoid scaling

Bug #880626 reported by Dan Orzechowski
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
eog (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

When opening an image, eog creates a window which allows for the image to be displayed at normal size (i.e., no scaling). But after the image is drawn, a GtkMenuBar is added to the window. Since the window does not resize itself after adding the menu bar, the image gets scaled down to a percentage of its true size.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: eog 3.2.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic-pae 3.0.4
Uname: Linux 3.0.0-12-generic-pae i686
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu3
Architecture: i386
Date: Sun Oct 23 23:08:06 2011
ExecutablePath: /usr/bin/eog
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: eog
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Dan Orzechowski (orzechowskid) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in eog (Ubuntu):
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, what desktop environment do you use? Under unity there should be no local menu for the eog dialog

Changed in eog (Ubuntu):
importance: Undecided → Low
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

This happens in any DE with no global menu, for example in Gnome Shell or Fallback mode.

Revision history for this message
Daniel Clem (clem11388) wrote :

Yup I'll second that, it seems to do "ok" under Unity with the global menu. but not under Gnome shell or Gnome2.3 with out a global menu.

I hope things can be re-done to have the window automatically resize as the status bar and toolbar are enabled or disabled, and when switching between images using arrow keys. Possible? I think so :-)

Revision history for this message
Arnaud Thevenet (aeromousse) wrote :

Hi all,

This bug is still there. Any image smaller than the desktop should open with 1:1 scaling (no scaling), but all images are just scaled by a little when opened, even if no scroll bar is displayed...
It is no very serious, but just a pity.

Eactly 3 years after this bug was opened, could we have a little update, or a little fixing? Thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.