<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>49970</bug_id>
          
          <creation_ts>2002-10-31 10:20:15 +0000</creation_ts>
          <short_desc>Fullscreen doesn&apos;t work with xinerama</short_desc>
          <delta_ts>2008-01-18 22:22:27 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>krdc</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Compiled Sources</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Felix Seeger">seeger</reporter>
          <assigned_to name="Urs Wolfer">uwolfer</assigned_to>
          <cc>alan.ezust</cc>
    
    <cc>danst0</cc>
    
    <cc>general</cc>
    
    <cc>greg</cc>
    
    <cc>steffen+kde</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>103057</commentid>
    <comment_count>0</comment_count>
    <who name="Felix Seeger">seeger</who>
    <bug_when>2002-10-31 10:20:16 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103073</commentid>
    <comment_count>1</comment_count>
    <who name="">tim</who>
    <bug_when>2002-10-31 11:24:45 +0000</bug_when>
    <thetext>I cannot just display the remote desktop on one screen (because Qt&apos;s 
fullscreen mode doesn&apos;t support this, I have to grab pointer&amp;keyboard, and 
bump scrolling wouldn&apos;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. </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103075</commentid>
    <comment_count>2</comment_count>
    <who name="Felix Seeger">seeger</who>
    <bug_when>2002-10-31 11:32:14 +0000</bug_when>
    <thetext>Subject: Re:  Fullscreen doesn&apos;t work with xinerama

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

thanks
have fun
Felix

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

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103078</commentid>
    <comment_count>3</comment_count>
    <who name="">tim</who>
    <bug_when>2002-10-31 11:47:14 +0000</bug_when>
    <thetext>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.  
  </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103082</commentid>
    <comment_count>4</comment_count>
    <who name="Felix Seeger">seeger</who>
    <bug_when>2002-10-31 12:11:54 +0000</bug_when>
    <thetext>Subject: Re:  Fullscreen doesn&apos;t work with xinerama

&gt; ------- Additional Comments From tim@tjansen.de  2002-10-31 11:47 -------
&gt; Yes, this is the part that I cant change.  What I could do (for 3.2) is
&gt; center the remote desktop on one of the xinerama screens, not on the whole
&gt; screen. But I am not sure whether this makes sense, because it still
&gt; obscures all the other screens. I would rather recommend not to use
&gt; fullscreen in xinerama and to maximize the window.
I am doing this yes. It works, so no problems. But you are right, fullscreen 
doesn&apos;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.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122475</commentid>
    <comment_count>5</comment_count>
    <who name="Thomas Steffen">steffen+kde</who>
    <bug_when>2003-03-10 09:53:03 +0000</bug_when>
    <thetext>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&apos;t want to miss it, it is really nice.  
 
Yours,		Thomas &lt;steffen+kde@atp.rub.de&gt; 
 
 </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122547</commentid>
    <comment_count>6</comment_count>
    <who name="">tim</who>
    <bug_when>2003-03-10 20:16:52 +0000</bug_when>
    <thetext>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&apos;t know how to handle this. It 
may be possible to find out the space of the screen that&apos;s not occupied by the menu bar. I 
don&apos;t know how to make the fullscreen widget appear on top of the menu bar. This 
seems to be Qt policy. </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124809</commentid>
    <comment_count>7</comment_count>
    <who name="">tim</who>
    <bug_when>2003-03-24 14:32:11 +0000</bug_when>
    <thetext>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&apos;t have a multi-screen setup. </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124833</commentid>
    <comment_count>8</comment_count>
    <who name="Felix Seeger">seeger</who>
    <bug_when>2003-03-24 16:35:34 +0000</bug_when>
    <thetext>Subject: Re:  Fullscreen doesn&apos;t work with xinerama

Doesn&apos;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&apos;t ignore my xinerama settings in 
kcontrol. I have a setting set there (support for windowplacing - 
&quot;Unterst</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126310</commentid>
    <comment_count>9</comment_count>
    <who name="Nik Clayton">nik</who>
    <bug_when>2003-04-02 00:36:31 +0000</bug_when>
    <thetext>Felix wrote: 
&gt; I am doing this yes. It works, so no problems. But you are right, fullscreen  
&gt; doesn&apos;t make much sense on one screen 
 
I&apos;m also trying to get krdc&apos;s fullscreen mode to play nicely with Xinerama, and I&apos;d like 
&apos;fullscreen&apos; to only maximise to the size of the current screen. 
 
I&apos;m running KDE 3.1.1, built from source, with Xinerama support.  The Xinerama support is 
definitely functional, and working in most apps. 
 
I&apos;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&apos;d *like* to be able to zoom the krdc window when it&apos;s on the CRT so that it completely fills 
the display -- no X11 window decorations or toolbar visible.  At the moment, I can&apos;t do that, and 
because I&apos;ve got window edge snapping turned on, it&apos;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 </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126311</commentid>
    <comment_count>10</comment_count>
    <who name="">tim</who>
    <bug_when>2003-04-02 00:46:30 +0000</bug_when>
    <thetext>&gt;&gt;I&apos;m also trying to get krdc&apos;s fullscreen mode to play nicely with Xinerama, and I&apos;d like  
 &apos;fullscreen&apos; to only maximise to the size of the current screen.&lt;&lt; 
 
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&apos;t have a Xinerama setup, so someone who has one would have to provide 
a patch to improve krdc. </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>144123</commentid>
    <comment_count>11</comment_count>
    <who name="Ed Suominen">general</who>
    <bug_when>2003-07-05 21:25:40 +0000</bug_when>
    <thetext>Maximizing to a selected screen is something KDE should become capable of doing
in general. It&apos;s particularly annoying when using kdrc. Hope this gets resolved!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>160767</commentid>
    <comment_count>12</comment_count>
    <who name="Jason Keirstead">jason</who>
    <bug_when>2003-09-23 00:12:08 +0000</bug_when>
    <thetext>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? </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>160771</commentid>
    <comment_count>13</comment_count>
    <who name="">tim</who>
    <bug_when>2003-09-23 00:30:16 +0000</bug_when>
    <thetext>1. I don&apos;t think that a fullscreen mode on a single screen is possible in the way it is now (it grabs 
mouse &amp; 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 &apos;single screen fullscreen&apos; 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.  
 </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>259821</commentid>
    <comment_count>14</comment_count>
    <who name="Greg Gilbert">greg</who>
    <bug_when>2004-08-18 16:26:40 +0000</bug_when>
    <thetext>The biggest complaint I have is that even though KRDC can&apos;t handle full screen mode, it still tries to create a full screen window every time I connect to a machine. There isn&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>259869</commentid>
    <comment_count>15</comment_count>
    <who name="">tim</who>
    <bug_when>2004-08-18 18:10:51 +0000</bug_when>
    <thetext>You can prevent krdc from going fullscreen with the &apos;-w&apos; option.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>414257</commentid>
    <comment_count>16</comment_count>
    <who name="Trent Lloyd">lathiat</who>
    <bug_when>2006-02-15 06:24:51 +0000</bug_when>
    <thetext>This is still a bug... qt must have come a while in this time, any progress on this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>414357</commentid>
    <comment_count>17</comment_count>
    <who name="Jaison Lee">lee.jaison</who>
    <bug_when>2006-02-15 15:07:45 +0000</bug_when>
    <thetext>Tim stopped working on KRDC a long time ago, and KRDC has been unmaintained since then. It&apos;s looking increasingly doubtful that KRDC (at least as we know it) will be in KDE4 at all, so I wouldn&apos;t hold my breath waiting for this change. :( Sorry.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>429077</commentid>
    <comment_count>18</comment_count>
    <who name="Alan Ezust">alan.ezust</who>
    <bug_when>2006-04-08 19:10:07 +0000</bug_when>
    <thetext>*** Bug 125183 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>449575</commentid>
    <comment_count>19</comment_count>
    <who name="Jaison Lee">lee.jaison</who>
    <bug_when>2006-06-25 15:02:42 +0000</bug_when>
    <thetext>*** Bug 129777 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>483548</commentid>
    <comment_count>20</comment_count>
      <attachid>18380</attachid>
    <who name="Jakob Schröter">cvsci</who>
    <bug_when>2006-11-03 15:35:22 +0000</bug_when>
    <thetext>Created attachment 18380
incomplete patch

I&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>537648</commentid>
    <comment_count>21</comment_count>
    <who name="Urs Wolfer">uwolfer</who>
    <bug_when>2007-07-23 22:52:47 +0000</bug_when>
    <thetext>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&apos;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&apos;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
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>572878</commentid>
    <comment_count>22</comment_count>
    <who name="">p92</who>
    <bug_when>2008-01-18 22:11:16 +0000</bug_when>
    <thetext>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

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>572881</commentid>
    <comment_count>23</comment_count>
    <who name="Urs Wolfer">uwolfer</who>
    <bug_when>2008-01-18 22:22:27 +0000</bug_when>
    <thetext>It&apos;s fixed in the KDE 4.0 version, not 3.5 one.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>18380</attachid>
            <date>2006-11-03 15:35:22 +0000</date>
            <delta_ts>2006-11-03 15:35:22 +0000</delta_ts>
            <desc>incomplete patch</desc>
            <filename>krdc-fullscreen-xinerama.diff</filename>
            <type>text/plain</type>
            <size>1491</size>
            <attacher name="Jakob Schröter">cvsci</attacher>
            
              <data encoding="base64">SW5kZXg6IGtyZGMuY3BwCj09PT09PT09PT09PT09PT09PT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