Bug 97629 - Xephyr window resolution is limited to 2×width and 2×height of the current screen
Summary: Xephyr window resolution is limited to 2×width and 2×height of the current s...
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/DDX/Xephyr (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-07 14:13 UTC by deterenkelt.github
Modified: 2019-11-25 15:59 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description deterenkelt.github 2016-09-07 14:13:31 UTC
I use Xephyr to make high resolution screenshots of a web interface. Screenshots must look good when printed. So I run 

$ Xephyr :108 -dpi 300 -screen 3413x1920

(This resolution equals 1024×576 @90 dpi multiplied by 3.33(3), which is the ratio between 300 and 90 dpi)

but without passing -resizeable the window is smaller than it should be, and a part of the browser in fullscreen is hidden. I am not talking about those parts, that are initially hidden, because Xephyr window is way too large, I’m talking about those you won’t see even if you grab the window and drag to its very right or bottom edges. 
I first noticed that at home, where I have 1920×1080 display, but I thought that the resolution is fixed to certain values. With the resolution I used, 3413×1920, which — note that — smaller than 2×1920 × 2×1080, I didn’t experience any troubles. But when I took my laptop and tried to open the same Xephyr window on a 1366×768 screen, I’ve seen only a part! 

Strange is, that -resizeable key fixes the issue. Though I have to ‘untile’ the window first this way, which is not convenient to do each time and requires a setting in the WM to do this automatically.

Steps to reproduce:
1. Choose a screen resolution at least 2.5 times larger than yours.
2. Pick a high dpi, 300 for instance.
3. Run 
   $ Xephyr :108 -dpi 300 -screen XRESxYRES
4. Run some application.
   $ DISPLAY=:108 vivaldi
   Make it fullsreen. Window -> Go fullscreen or F11 works for vivaldi.
5. See the window cropped.
6. Drag the window so its right edge would be at physical screen edge. Move the mouse to the left edge of the physical screen, press and hold the left mouse button on the Xephyr window, so it could be dragged. Drag the cursor all the way to the right edge of the screen.
7. See that Xephyr window is limited to two widths of your screen.
Comment 1 deterenkelt.github 2016-09-07 15:07:44 UTC
I was wrong, -resizeable don’t help. Actually, I cannot resize the window – when I try nothing happens, but after some fiddling at the lower bottom corner of  Xephyr window, it goes black and starts to jitter, like if attempting to resize to a smaller size, but restoring back several times per second.
Comment 2 GitLab Migration User 2018-12-13 18:27:11 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org'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.freedesktop.org/xorg/xserver/issues/119.
Comment 3 shery33@getnada.com (Spammer; Account disabled) 2019-11-25 15:59:09 UTC Comment hidden (spam)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.