From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#27973: 26.0.50; Feature Request - OSX - Transparent Titlebars Date: Sun, 6 Aug 2017 14:12:16 +0100 Message-ID: <20170806131216.GA61261@breton.holly.idiocy.org> References: <20170806001446.GA59888@breton.holly.idiocy.org> <20170806002540.GA59954@breton.holly.idiocy.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1502025196 29627 195.159.176.226 (6 Aug 2017 13:13:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 6 Aug 2017 13:13:16 +0000 (UTC) User-Agent: Mutt/1.7.2 (2016-11-26) Cc: 27973@debbugs.gnu.org To: James Nguyen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 06 15:13:12 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1deLMg-0007As-Me for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Aug 2017 15:13:06 +0200 Original-Received: from localhost ([::1]:33178 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1deLMm-0002Kz-Oz for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Aug 2017 09:13:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1deLMg-0002Kb-81 for bug-gnu-emacs@gnu.org; Sun, 06 Aug 2017 09:13:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1deLMd-0003x5-3C for bug-gnu-emacs@gnu.org; Sun, 06 Aug 2017 09:13:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41509) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1deLMc-0003w6-Ut for bug-gnu-emacs@gnu.org; Sun, 06 Aug 2017 09:13:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1deLMc-0005k7-Fv for bug-gnu-emacs@gnu.org; Sun, 06 Aug 2017 09:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Aug 2017 13:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27973 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27973-submit@debbugs.gnu.org id=B27973.150202514722029 (code B ref 27973); Sun, 06 Aug 2017 13:13:02 +0000 Original-Received: (at 27973) by debbugs.gnu.org; 6 Aug 2017 13:12:27 +0000 Original-Received: from localhost ([127.0.0.1]:44186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1deLM3-0005jF-7e for submit@debbugs.gnu.org; Sun, 06 Aug 2017 09:12:27 -0400 Original-Received: from mail-wm0-f49.google.com ([74.125.82.49]:34656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1deLM1-0005j3-7g for 27973@debbugs.gnu.org; Sun, 06 Aug 2017 09:12:25 -0400 Original-Received: by mail-wm0-f49.google.com with SMTP id t138so21027583wmt.1 for <27973@debbugs.gnu.org>; Sun, 06 Aug 2017 06:12:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=+SVsATHCkMnG+Dl8uYqn4VvfIvD/coeVniDUbWR/ygo=; b=gd6ifl+xzXSU+DWqWyMRiswoYvhLiXvjaML/5rFHgq2b8I5OZO4yW2fji6V2j4VxO1 P6jm7XmUCJI+cSf2U4CymOvPvKHA9sEWqaxGXPLq97hZOgOd6vJ/E3X1Iplf1q6Dmgoc yFZmiOeWZ1xYo1Wy1a+836yhhqQ1K6OIHnFf34LbshQOfWYnb2+lOf4W/tDOn09OcJ+g OSLt0KB1BWo5Rn/8yVUADHz7Kyqd5Ko/7l064pCbyRXg6f2uqEX/fcnIOzVWUMzAebs6 aDXmwUP/HYdF7UF8L/qEFbRAGGFMz/+zRAj94a4xlniIFkAQiM55SLdu92iuGpf+huKX dDeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=+SVsATHCkMnG+Dl8uYqn4VvfIvD/coeVniDUbWR/ygo=; b=d3fpILhQfSSfOislVnrUg1/H0eXGrdL3ZKwmC+QEFoowlVzY6+Ln3WUnzpBmH67s4s qDQG/lOVzKLu4l320UKmb6H/6BD/JHvywnciQCVYYGZuQxHUWFBwxVSzeggfSW1dfS2k 87nRISq0wU3I7MbKvKg6Ehyu6psAbSGW+eRLfA/U3tIQmu+Rmhz98Z0FPmTp0d8e1zXR KIh+Xj/8KDQyvTMOZwFv4hHmRVaiWtvuPjdlJcamK32/mQmFnPiXIgeAf7RojaY+osbv +p9Rhvbll+1x2KDQc6hlSWD7oIRv9DhzwZw6izWiVra/jS2AZIBhM2RyvsTqc+Um9HKP tGSg== X-Gm-Message-State: AHYfb5h6JFlwVIMIAVKCPjdv65/L7BtZlkH70zIBo+/hYmxa5gmsBHvf YwLf57yR4hGCZIz4Ckg= X-Received: by 10.28.212.147 with SMTP id l141mr4851547wmg.13.1502025139492; Sun, 06 Aug 2017 06:12:19 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-b502-fffb-632e-95b3.holly.idiocy.org. [2001:8b0:3f8:8129:b502:fffb:632e:95b3]) by smtp.gmail.com with ESMTPSA id k13sm6304842wrd.4.2017.08.06.06.12.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 06 Aug 2017 06:12:18 -0700 (PDT) Content-Disposition: inline In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:135491 Archived-At: On Sat, Aug 05, 2017 at 05:39:03PM -0700, James Nguyen wrote: > It looks reasonable to me, the toolbar is also transparent. > > https://www.dropbox.com/s/tiy36twyut6uw73/Screenshot%202017-08-05%2017.31.42.png?dl=0 > > The frame color isn't adjustable since I'm setting up the colors at > Emac's compile time so using a dark theme results in dark font in the > title bar instead of a light one. It seems to me there are at least two things we want here: 1. Setting transparency of UI elements. Possibly with an option to use ‘unified’ toolbars and titlebars. 2. Setting the NSAppearance theme. After messing about with NSAppearance I’ve discovered this is the solution to one of my bugbears: if you set it to dark then the scrollbars are no longer white, which always looks stupid with a dark Emacs theme. I’m not sure how these settings should be implemented, though. I think they’d be best as frame parameters, but none of the existing frame parameters are system dependent like these, so I don’t know if doing it that way would upset anyone. Alternatively we just make them variables which affect any subsequently created frames. -- Alan Third