Bug 49970 - Fullscreen doesn't work with xinerama
Summary: Fullscreen doesn't work with xinerama
Status: RESOLVED FIXED
Alias: None
Product: krdc
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Urs Wolfer
URL:
Keywords:
: 125183 129777 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-10-31 10:20 UTC by Felix Seeger
Modified: 2008-01-18 22:22 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
incomplete patch (1.46 KB, patch)
2006-11-03 15:35 UTC, Jakob Schröter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Seeger 2002-10-31 10:20:16 UTC
Version:            (using KDE KDE 3.0.9)
Installed from:    Compiled From Sources
OS:          Linux

With xinerama enabled you will get a fullscreen view over both screens. Should only be fullscreen on the current screen.
Comment 1 tim 2002-10-31 11:24:45 UTC
I cannot just display the remote desktop on one screen (because Qt's 
fullscreen mode doesn't support this, I have to grab pointer&keyboard, and 
bump scrolling wouldn't work then). 
What I can do is make sure that krdc displays the remote framebuffer and the  
toolbar on a single screen, instead of the center of the whole desktop. 
Comment 2 Felix Seeger 2002-10-31 11:32:14 UTC
Subject: Re:  Fullscreen doesn't work with xinerama

You mean QT doesn not support a fullscreen mode for one screen ?
I don't understand what you want to do but I'm sure it is the right thing ;)

thanks
have fun
Felix

Am Thursday 31 October 2002 11:24 schrieben Sie:
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>
> http://bugs.kde.org/show_bug.cgi?id=49970
> tim@tjansen.de changed:
>
>            What    |Removed                     |Added
> ---------------------------------------------------------------------------
>- Severity|normal                      |minor
>              Status|UNCONFIRMED                 |ASSIGNED
>       everconfirmed|0                           |1
>
>
>
> ------- Additional Comments From tim@tjansen.de  2002-10-31 11:24 -------
> I cannot just display the remote desktop on one screen (because Qt's
> fullscreen mode doesn't support this, I have to grab pointer&keyboard, and
> bump scrolling wouldn't work then).
> What I can do is make sure that krdc displays the remote framebuffer and
> the toolbar on a single screen, instead of the center of the whole desktop.

Comment 3 tim 2002-10-31 11:47:14 UTC
Yes, this is the part that I cant change.  What I could do (for 3.2) is    
center the remote desktop on one of the xinerama screens, not on the whole  
screen. But I am not sure whether this makes sense, because it still obscures 
all the other screens. I would rather recommend not to use fullscreen in 
xinerama and to maximize the window.  
  
Comment 4 Felix Seeger 2002-10-31 12:11:54 UTC
Subject: Re:  Fullscreen doesn't work with xinerama

> ------- Additional Comments From tim@tjansen.de  2002-10-31 11:47 -------
> Yes, this is the part that I cant change.  What I could do (for 3.2) is
> center the remote desktop on one of the xinerama screens, not on the whole
> screen. But I am not sure whether this makes sense, because it still
> obscures all the other screens. I would rather recommend not to use
> fullscreen in xinerama and to maximize the window.
I am doing this yes. It works, so no problems. But you are right, fullscreen 
doesn't make much sense on one screen, maybe you should disable it if there 
are two screens, it simply looks ugly if someone tries to use it.

Comment 5 Thomas Steffen 2003-03-10 09:53:03 UTC
I have also found some problem with krdc in fullscreen mode on two screens without 
xinerama (classical arrangement with :0.0 and :0.1): 
 
* on the first screen it more or less works, but if I move over the mouse to the second 
screen, the viewport scrolls showing only part of the krdc window 
 
* on the second screen it does not work well at all. It switches the resolution of the first 
screen (wrong one!) and my MacOS-Style Menubar is still in the way, hiding the 
krdc-panel.  
 
I think that resolution switching with multiple monitors is a difficult thing. Maybe you 
should add an option to do without? If there are still problems, later versions of rdesktop 
have very nice fullscreen capabilities on multiple screens, but without resolution 
switching. I wouldn't want to miss it, it is really nice.  
 
Yours,		Thomas <steffen+kde@atp.rub.de> 
 
 
Comment 6 tim 2003-03-10 20:16:52 UTC
Finding out the screen number and switching the right screen seems to be possible and 
not very difficult. Concerning the MacOS menu bar.. i don't know how to handle this. It 
may be possible to find out the space of the screen that's not occupied by the menu bar. I 
don't know how to make the fullscreen widget appear on top of the menu bar. This 
seems to be Qt policy. 
Comment 7 tim 2003-03-24 14:32:11 UTC
I committed fixes for changing the resolution on the right screen, and to avoid scrolling 
in HEAD and the 3.1 branch. Please test, since I don't have a multi-screen setup. 
Comment 8 Felix Seeger 2003-03-24 16:35:34 UTC
Subject: Re:  Fullscreen doesn't work with xinerama

Doesn't change anything for me here.
I start the client, enter host and passwd.
Than I get a fullscreen view.
I leave the fullscreen view and get a too small window on the right side.
Now I have to hit Ctrl+Alt+M to get the full size on this screen.

Best would be if krdc remembers the last mode (not fullscreen here) and the 
window size. Than I only have to set this once per kde installation.

Also: It would be nice if krdc doesn't ignore my xinerama settings in 
kcontrol. I have a setting set there (support for windowplacing - 
"Unterst
Comment 9 Nik Clayton 2003-04-02 00:36:31 UTC
Felix wrote: 
> I am doing this yes. It works, so no problems. But you are right, fullscreen  
> doesn't make much sense on one screen 
 
I'm also trying to get krdc's fullscreen mode to play nicely with Xinerama, and I'd like 
'fullscreen' to only maximise to the size of the current screen. 
 
I'm running KDE 3.1.1, built from source, with Xinerama support.  The Xinerama support is 
definitely functional, and working in most apps. 
 
I've got two monitors.  The main one is a 1600x1200 TFT.  The second one is a 1280x1024 CRT.  
My main workstation is attached to both monitors.  The CRT is also attached to a KVM, and I 
have other hosts that I can switch to using the KVM so they display on the CRT, and I can still 
monitor activity on the TFT. 
 
One of the other hosts is a Windows box, display resolution is 1024x786, running VNC. 
 
I can use krdc to view the Windows display, and the krdc window is larger than 1024x768, 
because of the window decorations, toolbar, and so on. 
 
I'd *like* to be able to zoom the krdc window when it's on the CRT so that it completely fills 
the display -- no X11 window decorations or toolbar visible.  At the moment, I can't do that, and 
because I've got window edge snapping turned on, it's nigh on impossible to place the krdc 
window on the CRT so that all the window decorations are not visible, and just the remote 
desktop is showing. 
 
N 
Comment 10 tim 2003-04-02 00:46:30 UTC
>>I'm also trying to get krdc's fullscreen mode to play nicely with Xinerama, and I'd like  
 'fullscreen' to only maximise to the size of the current screen.<< 
 
As said in comment #1, AFAIK it is not possible with Qt to select the Xinerama screen for 
the fullscreen mode. Fullscreen spans the whole visible area.  
Beside that I don't have a Xinerama setup, so someone who has one would have to provide 
a patch to improve krdc. 
Comment 11 Ed Suominen 2003-07-05 21:25:40 UTC
Maximizing to a selected screen is something KDE should become capable of doing
in general. It's particularly annoying when using kdrc. Hope this gets resolved!
Comment 12 Jason Keirstead 2003-09-23 00:12:08 UTC
I am running KDE HEAD as of Sept. 20th or so, and XInerama. 
 
1. Krdc spans both monitors when in fullscreen mode 
 
2. The displayis not scaled at all, it remains at whatever resolution it was 
(800x600) and puts black borders around the screen. I assume because bug 
49242 has been marked as resolved it is supposed to scale the screen? 
Comment 13 tim 2003-09-23 00:30:16 UTC
1. I don't think that a fullscreen mode on a single screen is possible in the way it is now (it grabs 
mouse & keyboard and tries to offer a experience as near the original as possible; some features 
like the hidden toolbar and bump scroling are triggered by hitting the screen borders) and first 
Qt would need 'single screen fullscreen' support (QWidget::showFullScreen() does not let me 
specify a screen or position). Anyway, i have neither the equiment to work on it nor personal 
interest, but I accept patches, of course :) 
 
2. Bug 49242 is about downscaling, not upscaling. The krdc strategy for downscaling is to 
change the local resolution to fit.  
 
Comment 14 Greg Gilbert 2004-08-18 16:26:40 UTC
The biggest complaint I have is that even though KRDC can't handle full screen mode, it still tries to create a full screen window every time I connect to a machine. There isn't any way I can see to disable full screen mode for all connections, and by default krdc is going into full screen mode on one monitor and only displaying half of the remote machine. Either adding an option to disable full screen mode by default, or even just detecting xinerama at connection time and overriding full screen mode there would make using krdc much less annoying.
Comment 15 tim 2004-08-18 18:10:51 UTC
You can prevent krdc from going fullscreen with the '-w' option.
Comment 16 Trent Lloyd 2006-02-15 06:24:51 UTC
This is still a bug... qt must have come a while in this time, any progress on this?
Comment 17 Jaison Lee 2006-02-15 15:07:45 UTC
Tim stopped working on KRDC a long time ago, and KRDC has been unmaintained since then. It's looking increasingly doubtful that KRDC (at least as we know it) will be in KDE4 at all, so I wouldn't hold my breath waiting for this change. :( Sorry.
Comment 18 Alan Ezust 2006-04-08 19:10:07 UTC
*** Bug 125183 has been marked as a duplicate of this bug. ***
Comment 19 Jaison Lee 2006-06-25 15:02:42 UTC
*** Bug 129777 has been marked as a duplicate of this bug. ***
Comment 20 Jakob Schröter 2006-11-03 15:35:22 UTC
Created attachment 18380 [details]
incomplete patch

I'll attach a patch that may be a first step to a solution. It makes krdc
center on a screen, not on the whole Xinerama desktop.
On my setup, though, it always goes to fullscreen on the second screen (on the
left of screen 1).
Any feedback is appreciated.
Comment 21 Urs Wolfer 2007-07-23 22:52:47 UTC
SVN commit 691520 by uwolfer:

Move the almost rewritten KRDC (Google Summer of Code project) back to trunk.

Discussed on release team mailing list.

The following issues are resolved with the new version. More issues should be resolved too, but they need some more review. If you have again a problem, please open a new bug report.

#49970: Fullscreen doesn't work with xinerama
#59026: Synchronize KRDC with LibVNCClient
#69635: Full screen mode changes X resolution, but does not recenter window
#69636: closing KRDC while in full screen mode does not restore the screen
#74767: redraw problems with krdc
#116934: report bug entry missing
#121146: window title should include host connection type
#123346: Dock icons not themeable
#127002: Enhancement request: Add Desktop number for storing passwords in kdewallet for vnc connections 
#127034: can not send esc keystroke to remote machine inside krdc
#132367: kwallet integration only stores the password, username needed as well for some viewers
#136049: RFE: use tabbed interface
#136462: Password in link ignored
#137141: do not send current unix username to server
#137182: turning fullscreen changes resolution, not the window size
#141783: krdc doesn't works with --fullscreen option
#146210: keystrokes are poorly transferred

BUGS: 49970, 59026, 69635, 69636, 74767, 116934, 121146, 123346, 127002, 127034, 132367, 136049, 136462, 137141, 137182, 141783, 146210

 A             krdc (directory)   branches/work/soc-krdc/krdc#691519
Comment 22 p92 2008-01-18 22:11:16 UTC
there is still a bug on fullscreen with xinerama
I am using kde 3.5.8 with krdc and a rdp session with a 1024x768 size

my config is  2 screens  1024x768 each

when I start krdc it is ok window mode on one screen
if I click on full screen button then :
- krdc switch one of my screen to full screen mode (correct)
- krdc displays the remote server 1024x768 area as if the underlying area was
  (2x1024) x 768 and it centers the server area on it (incorrect) rendering a large part of it inaccessible (shifted right out of screen physical area)

So kdrc seems to take my entire xinerama width = 2x1024 instead of a single screen width 1024 to compute the position of the server area in fullscreen mode

-------- --------
 scr1     scr2
-------- --------

-------- ====--------
 scr1        !server!
-------- ====--------    
         grey vis invisible
         area area area shifted right

Comment 23 Urs Wolfer 2008-01-18 22:22:27 UTC
It's fixed in the KDE 4.0 version, not 3.5 one.