Bug 1065788 - gnome-shell displays ridiculously large/small menus and icons
Summary: gnome-shell displays ridiculously large/small menus and icons
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-shell
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Owen Taylor
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-17 00:42 UTC by Bojan Smojver
Modified: 2014-02-25 14:24 UTC (History)
9 users (show)

Fixed In Version: gnome-shell-3.10.3-8.fc20
Clone Of:
Environment:
Last Closed: 2014-02-22 00:48:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Enlarged status menu, as an example of breakage (38.62 KB, image/png)
2014-02-17 00:42 UTC, Bojan Smojver
no flags Details
Screenshot with calendar. (2.61 MB, image/png)
2014-02-18 17:47 UTC, Juraci Paixão Kröhling
no flags Details
Screenshot with top-right options (2.59 MB, image/png)
2014-02-18 17:49 UTC, Juraci Paixão Kröhling
no flags Details

Description Bojan Smojver 2014-02-17 00:42:15 UTC
Created attachment 863904 [details]
Enlarged status menu, as an example of breakage

Description of problem:
See attached image. The menus are ridiculously large. At the same time, the icons in the dash are ridiculously small.

Version-Release number of selected component (if applicable):
gnome-shell-3.10.3-6.fc20.i686

How reproducible:
Always.

Steps to Reproduce:
1. xrdp session with custom resolution 1600 x 850.

Actual results:
Incorrect size of icons/menus.

Expected results:
Worked fine before this update.

Additional info:
DPI is reported as 96 by xrdb:
-------------
$ xrdb -query
Xft.dpi:	96
Xft.hinting:	1
Xft.hintstyle:	hintfull
Xft.antialias:	1
Xft.rgba:	none
-------------

See also bug #973486. Latest gnome cannot figure out the custom resolution set by VNC inside the xrdp session. May be somehow related.

You can see an additional bug (on the machine that opened remote session to this xrdp server), where the status menu (top right) is too wide, because wireless is disabled by a switch on this ThinkPad. After suspend/resume, the width of that becomes normal and the workspace indicator moves closer to the right, next to the Airplane Mode icon.

Comment 1 Bojan Smojver 2014-02-17 06:03:39 UTC
Looking at the patch that was applied:

http://pkgs.fedoraproject.org/cgit/gnome-shell.git/commit/?h=f20&id=ab1f69bfac789cc5b74f727000b6747d9a85ad20

It is probably the case that under VNC (xrdp runs Xvnc) the monitor size is reported as 0 by 0 mm (some quick Python code that uses same GTK functions seems to be confirming that).

So, the patch should probably check for that and then leave the scale_factor at 1 in such a case.

Comment 2 Fedora Update System 2014-02-17 13:22:48 UTC
gnome-shell-3.10.3-7.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/gnome-shell-3.10.3-7.fc20

Comment 3 Fedora Update System 2014-02-18 13:35:19 UTC
Package gnome-shell-3.10.3-7.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gnome-shell-3.10.3-7.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-2682/gnome-shell-3.10.3-7.fc20
then log in and leave karma (feedback).

Comment 4 Juraci Paixão Kröhling 2014-02-18 17:46:30 UTC
I don't think this is fixing the issue. After installing this package and restarting gnome-shell, I still see huge components. See attached screenshots. Note that this is not on a VM, so, not on remote desktops.

$ yum info gnome-shell | grep -E "Version|Release|Name"
Name        : gnome-shell
Version     : 3.10.3
Release     : 7.fc20

Comment 5 Juraci Paixão Kröhling 2014-02-18 17:47:54 UTC
Created attachment 864657 [details]
Screenshot with calendar.

Comment 6 Juraci Paixão Kröhling 2014-02-18 17:49:08 UTC
Created attachment 864658 [details]
Screenshot with top-right options

Comment 7 Bojan Smojver 2014-02-18 22:38:40 UTC
(In reply to Juraci Paixao Krohling from comment #4)
> I don't think this is fixing the issue.

Can you run this script and post the output?
------------------
#!/usr/bin/python
from gi.repository import Gdk, Gtk

# Replace w with the GtkWindow of your application
w = Gtk.Window()
# Get the screen from the GtkWindow
s = w.get_screen()
# Using the screen of the Window, the monitor it's on can be identified
m = s.get_monitor_at_window(s.get_active_window())
# Then get the geometry of that monitor
monitor = s.get_monitor_geometry(m)
# This is an example output
print("Height: %s, Width: %s" % (monitor.height, monitor.width))
print("Height: %s, Width: %s" % (s.get_monitor_height_mm(s.get_primary_monitor()), s.get_monitor_width_mm(s.get_primary_monitor())))
------------------

Comment 8 Adel Gadllah 2014-02-18 23:15:57 UTC
Can try again with the -8 build? 

Should be in updates-testing soon but you can grab it from koji as well: http://koji.fedoraproject.org/koji/taskinfo?taskID=6545158

Comment 9 Rushabh Padalia 2014-02-19 16:55:57 UTC
ahh, had the same problem after todays update 

This fixed it
# su -c 'yum update --enablerepo=updates-testing gnome-shell-3.10.3-7.fc20'

Comment 10 Juraci Paixão Kröhling 2014-02-20 10:41:32 UTC
(In reply to Bojan Smojver from comment #7)
> Can you run this script and post the output?

Here's the output of the script:

$ /tmp/check.py 
Height: 1200, Width: 1920
Height: 90, Width: 160


(In reply to Adel Gadllah from comment #8)
> Can try again with the -8 build? 

This one seems to fix it! Thanks!

Comment 11 Bojan Smojver 2014-02-20 20:36:36 UTC
(In reply to Juraci Paixao Krohling from comment #10)

> Here's the output of the script:
> 
> $ /tmp/check.py 
> Height: 1200, Width: 1920
> Height: 90, Width: 160

The second set of numbers is supposed to be the physical size of you screen, in millimetres. From those numbers, your screen is being reported as exceptionally small, so no wonder the DPI comes out very high (over 300).

Comment 12 Fedora Update System 2014-02-22 00:48:29 UTC
gnome-shell-3.10.3-8.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Sitsofe Wheeler 2014-02-23 09:57:27 UTC
(Just for the record this issue also affected GNOME in VMware)

Comment 14 Juraci Paixão Kröhling 2014-02-25 14:24:11 UTC
(In reply to Bojan Smojver from comment #11)
> (In reply to Juraci Paixao Krohling from comment #10)
> 
> > Here's the output of the script:
> > 
> > $ /tmp/check.py 
> > Height: 1200, Width: 1920
> > Height: 90, Width: 160
> 
> The second set of numbers is supposed to be the physical size of you screen,
> in millimetres. From those numbers, your screen is being reported as
> exceptionally small, so no wonder the DPI comes out very high (over 300).

Strange, could it be that those numbers are being reported wrongly? I have two monitors, one built-in on the laptop with a resolution of 1920x1080, and an external one connected via the Display Port with a resolution of 1920x1200 (16x10). One strange thing that I've just noticed while grabbing these numbers is that the external monitor is reported as 7', instead of 24'. Could this be the reason of the misreport?


Note You need to log in before you can comment on or make changes to this bug.