From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#14180: PATCH Better fullscreen frame support on Windows Date: Sat, 13 Apr 2013 10:03:09 +0200 Message-ID: <5169113D.7040801@gmx.at> References: <5167D3CE.90105@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1365840245 12872 80.91.229.3 (13 Apr 2013 08:04:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Apr 2013 08:04:05 +0000 (UTC) Cc: 14180@debbugs.gnu.org To: Erik Charlebois Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 13 10:04:08 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UQvRQ-0004zO-3q for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Apr 2013 10:04:08 +0200 Original-Received: from localhost ([::1]:41496 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQvRP-0005la-NW for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Apr 2013 04:04:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQvRM-0005lK-JA for bug-gnu-emacs@gnu.org; Sat, 13 Apr 2013 04:04:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UQvRL-00071X-Nl for bug-gnu-emacs@gnu.org; Sat, 13 Apr 2013 04:04:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44219) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQvRL-00071T-Ko for bug-gnu-emacs@gnu.org; Sat, 13 Apr 2013 04:04:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UQvVC-00064v-Ah for bug-gnu-emacs@gnu.org; Sat, 13 Apr 2013 04:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Apr 2013 08:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14180 X-GNU-PR-Package: emacs,w32 X-GNU-PR-Keywords: patch Original-Received: via spool by 14180-submit@debbugs.gnu.org id=B14180.136584043723174 (code B ref 14180); Sat, 13 Apr 2013 08:08:02 +0000 Original-Received: (at 14180) by debbugs.gnu.org; 13 Apr 2013 08:07:17 +0000 Original-Received: from localhost ([127.0.0.1]:48328 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UQvUS-00061i-RQ for submit@debbugs.gnu.org; Sat, 13 Apr 2013 04:07:17 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:50900) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UQvUQ-00061V-BZ for 14180@debbugs.gnu.org; Sat, 13 Apr 2013 04:07:15 -0400 Original-Received: from mailout-de.gmx.net ([10.1.76.19]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0MY1FO-1U50q21sdk-00UnVN for <14180@debbugs.gnu.org>; Sat, 13 Apr 2013 10:03:14 +0200 Original-Received: (qmail invoked by alias); 13 Apr 2013 08:03:14 -0000 Original-Received: from 62-47-42-65.adsl.highway.telekom.at (EHLO [62.47.42.65]) [62.47.42.65] by mail.gmx.net (mp019) with SMTP; 13 Apr 2013 10:03:14 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18zZKAAidMzzCtcCrDfqDj0svIaneci6lxVbbKTII P4wKuqUemvfYqZ In-Reply-To: X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:73372 Archived-At: > That's correct. The modeline scrollbar is slightly clipped. It's because we currently do not distribute spare pixel lines to other windows but simply append them at the end of the mode-line without, however, storing the pixel height in the window. The display engine doesn't know anything about this and therefore cannot draw the scroll bar long enough. I suppose the remaining pixel lines of the screen are cleared by Windows using FRAME_BACKGROUND_PIXEL but never checked that. Here I changed the behavior by appending the extra pixel lines to the windows that "most need it". > I just doubled checked toggling scrollbars, menubar and toolbar on and off > while in fullscreen and it all works as expected. > > Thanks for the reminder since I usually run with all those elements off :). I intended to ask you that too. At least some of these can have very nasty delayed effects (at least with the old maximized/fullscreen mode). In particular, independently setting margin widths and scrollbar widths and the internal border widths of frames. martin