From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuuki Harano Newsgroups: gmane.emacs.bugs Subject: bug#52042: 29.0.50; [feature/pgtk] issue in moving a fullscreen emacs frame from a scale@1x display to a scale@2x display Date: Thu, 02 Dec 2021 00:47:20 +0900 (JST) Organization: Ingage Inc. Message-ID: <20211202.004720.1770181195247425806.masm@luna.pink.masm11.me> References: <20211202.000856.162232917581372790.masm@luna.pink.masm11.me> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36646"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 52042@debbugs.gnu.org To: moonsolo@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 01 16:49:09 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1msRr2-0009Ju-JV for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 01 Dec 2021 16:49:09 +0100 Original-Received: from localhost ([::1]:48650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1msRr0-0004V6-W4 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 01 Dec 2021 10:49:07 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msRqG-0004Sl-Ps for bug-gnu-emacs@gnu.org; Wed, 01 Dec 2021 10:48:23 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33636) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1msRpy-00042x-5Z for bug-gnu-emacs@gnu.org; Wed, 01 Dec 2021 10:48:12 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1msRpy-00051i-3x for bug-gnu-emacs@gnu.org; Wed, 01 Dec 2021 10:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Yuuki Harano Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Dec 2021 15:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52042 X-GNU-PR-Package: emacs Original-Received: via spool by 52042-submit@debbugs.gnu.org id=B52042.163837364819193 (code B ref 52042); Wed, 01 Dec 2021 15:48:02 +0000 Original-Received: (at 52042) by debbugs.gnu.org; 1 Dec 2021 15:47:28 +0000 Original-Received: from localhost ([127.0.0.1]:45182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msRpQ-0004zU-0p for submit@debbugs.gnu.org; Wed, 01 Dec 2021 10:47:28 -0500 Original-Received: from shiro.masm11.me ([150.95.182.25]:44026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msRpN-0004yo-JY for 52042@debbugs.gnu.org; Wed, 01 Dec 2021 10:47:27 -0500 Original-Received: from luna.pink.masm11.me (i153-144-34-242.s41.a033.ap.plala.or.jp [153.144.34.242]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by shiro.masm11.me (Postfix) with ESMTPSA id 59D1FC0171; Thu, 2 Dec 2021 00:47:21 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=masm11.me; s=202002; t=1638373641; bh=xJ/+MyRU09+zGFxuktFfCRtNrmLGxRDKBpLivU6CR24=; h=Date:To:Cc:Subject:From:In-Reply-To:References; b=PWns45HpGJ5gP85xKTVPLf2hblrPXFEAURhPrwqy+KcdCTX9cYxBGlhAZKASKLQc1 kkzdWE7px9Jd2zBEVuOYZTUVUnkhAbsX4UCroWQfxPRCxTCVl9AbAgkCBK5os0hiWx CneGuHXFT5o6n4JmlbnudKTy0Yo2Of9u9fAOHKcM= In-Reply-To: X-Mailer: Mew version 6.8 on Emacs 29.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:221207 Archived-At: On Wed, 1 Dec 2021 10:20:41 -0500, Fred Fu wrote: > How do GTK applications handle this situation? > > Does each gnome app deal with their windows moving among displays of scale > factors on their own? > > Or do they just delegate the dirty job to GTK or other lower-level > mechanisms? Switching scale factor among display is usually done by gtk. Usual applications create cairo_surface_t(bitmap), use it for a short time, and destroy it. When creating it, scaling factor is reflected. Pgtk emacs create cairo_surface_t, use it for a long time for cost and algorithms, and scaling factor is not reflected until recreation. -- Yuuki Harano