From unknown Thu Mar 28 09:39:18 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#417: Two screens, wrong screen used for limits of positioning context menus Reply-To: Daniel Michalik , 417@bugs.x2go.org Resent-From: Daniel Michalik Resent-To: x2go-dev@lists.berlios.de Resent-CC: owner@bugs.x2go.org X-Loop: owner@bugs.x2go.org Resent-Date: Tue, 28 Jan 2014 15:40:02 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: report 417 X-X2Go-PR-Package: xinerama X-X2Go-PR-Keywords: Received: via spool by submit@bugs.x2go.org id=B.139092336711914 (code B); Tue, 28 Jan 2014 15:40:02 +0000 Received: (at submit) by bugs.x2go.org; 28 Jan 2014 15:36:07 +0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Received: from mail.fysik.lu.se (mail.fysik.lu.se [130.235.185.27]) by ymir (Postfix) with ESMTP id 2337F5DB13 for ; Tue, 28 Jan 2014 16:36:06 +0100 (CET) Received: (qmail 10409 invoked by uid 89); 28 Jan 2014 16:36:05 +0100 Received: (simscan 1.4.1 ppid 10399 pid 10403 t 0.1103s) (scanners: attach: 1.4.1 clamav: 0.97.8/m:55/d:17992); 28 Jan 0114 15:36:05 -0000 Received: from unknown (HELO forrest.astro.lu.se) (mic@astro.lu.se@213.239.254.222) by 0 with ESMTPA; 28 Jan 2014 16:36:05 +0100 Received: from dmichalik by forrest.astro.lu.se with local (Exim 4.82) (envelope-from ) id 1W8Ahc-0001fu-Pi for submit@bugs.x2go.org; Tue, 28 Jan 2014 16:35:52 +0100 Date: Tue, 28 Jan 2014 16:35:52 +0100 From: Daniel Michalik To: submit@bugs.x2go.org Message-ID: <20140128153552.GA6148@forrest.astro.lu.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Package: xinerama Version: 4.0.1.2 (Qt - 4.8.6) This bug concerns the placement of context menus in a two screen setup. On my client I have two screens. One in landscape mode from 0,0 to 1920,1080 and to its right a second screen in portrait mode, from 1920,0 to 3120,1600. I run an x2go session, the session type is single application (terminal). I fullscreen my application window, either on the left or on the right screen. I then open a context menu while my mouse cursor is in the bottom half or right half of the application window. Everything works fine with the application positioned on the right hand screen. It is correctly determined that the context menus would not fit into the remaining space if they would start where the mouse cursor is, so they are repositioned in a way that I can see the entire menu. But if the application is on my left hand screen the context menus will always start (their top left corner) where my mouse cursor is, therefore spilling outside my visible monitor area to the bottom, or overlapping into my second screen. Expected behaviour: context menus to stay within my screen, just as they do for all other non-x2go applications.