Bug 1115989

Summary: Unable to set sandbox window size and text too small
Product: Red Hat Enterprise Linux 6 Reporter: Milan Barta <mbarta>
Component: xorg-x11-serverAssignee: Adam Jackson <ajax>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.6CC: mdomonko, tpelka
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: xorg-x11-server-1.15.0-16.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-14 04:56:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
sandbox screenshot none

Description Milan Barta 2014-07-03 13:12:47 UTC
Created attachment 914473 [details]
sandbox screenshot

Description of problem:
No matter what window size is specified when running sandbox (-w resolution), the sandbox window always opens too small. When the window is manually resized, the text is so small it's impossible to read (see attached screenshot 

Version-Release number of selected component (if applicable):
xorg-x11-server-Xorg-1.15.0-15.el6.x86_64
policycoreutils-2.0.83-19.41.el6.x86_64
policycoreutils-python-2.0.83-19.41.el6.x86_64
policycoreutils-sandbox-2.0.83-19.41.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
1. make sure you have policycoreutils-sandbox and policycoreutils-python installed
2. run sandbox -X -w 800x600 firefox

Actual results:
A small sandbox window opens (not the size specified as parameter) and all the text inside the window is too small to read.

Expected results:
A sandbox window of specified dimensions is opened and text size is normal and readable.

Additional info:

Comment 2 Michal Domonkos 2014-07-08 16:31:30 UTC
This problem is also easily reproducible with Xephyr alone (assuming it's used by sandbox anyway) - specifying the -screen parameter is ignored.  This works fine with Xorg 1.13 shipped in RHEL-6.5.

Comment 3 Adam Jackson 2014-07-10 17:11:26 UTC
Pretty sure this is fixed by

commit 7b2a517ba99f6756e98c4aef47d9b9399b997157
Author: Julien Cristau <jcristau>
Date:   Wed Mar 26 23:24:20 2014 +0100

    Xephyr: restore initial window resize lost in xcb conversion

Comment 6 errata-xmlrpc 2014-10-14 04:56:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1376.html