From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.help Subject: Re: Would there be a drawback of using the same graphical toolkit on every platform? Date: Sat, 19 Feb 2022 15:57:14 +0100 Message-ID: References: <87bkz3pltw.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5299"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Po Lu , emacsq via Users list for the GNU Emacs text editor To: emacsq Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 19 16:06:53 2022 Return-path: Envelope-to: geh-help-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 1nLRK0-00018H-ON for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 19 Feb 2022 16:06:53 +0100 Original-Received: from localhost ([::1]:54242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nLRJz-0007g6-EF for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 19 Feb 2022 10:06:51 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45324) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLRIu-0007fp-G9 for help-gnu-emacs@gnu.org; Sat, 19 Feb 2022 10:05:44 -0500 Original-Received: from mail-oln040092065032.outbound.protection.outlook.com ([40.92.65.32]:42658 helo=EUR01-HE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLRHZ-0005Ao-Pm for help-gnu-emacs@gnu.org; Sat, 19 Feb 2022 10:05:44 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BGfh5vN+r/vnuG4+yR5MeJFWVP70roYKMfvoKvsVghiR7wBTrrvBhGpg4LBQb0BYLDPlHDzurIrgZwdhlCsVRHw7Hm7VOviLyFIiQCt2Zjzqy7VQyxMewjcsWwT5fF2uoBKGC2eYyNyQygYp9GbSFWknByxrQrRhn1mL+vLSQy3imC/JjAm2ec5z9XpeH1K1ahfb4d3fF6a+6DW3KHeSjLAcaW+G+tmNKcJ7kQmA29HJhM5+aliaO0qeyxtMhpKbUUI0zbQR8w7cdVRgVnT9jA52r9N71+cvf1yCApyaaoVrwGrxDOX0oD9tJhf0urngB+vPtV+Hg2e36bOVh/mAUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7aQi7WjhGtUKyuw6j8VDrGPN9RjE7OXBG5wDwN16MT8=; b=bVJuwepHJk2GZvzh9FaDfJBraWcYzo0rmtP0JNJoQj/LcT6d0LX9JWWIeGsMKjvA0srgniuOOmGFLciXsHijRH57IXZOj8fcJ8WzuFBBfs0l76NYO4AtqvDZqrzvTLPbvx6hOXgGvcJnnA/uEy4shhKwll9vryIpi1ERKHxkX+SUy+YKDCh5dGo5DT0YT0MZALgBdYSDxwXYh/h2endIXl7fSYplfrXK2aWxfDTXMXGumt3KWWut/w7Q0mCgC0ZlmhGotJP7kK29gQDsJSM1F3wZGlUscbnS38YIECC4TRpWh2NoS5lZVQrwR6SlIzYz8tBYABiJ+V0IO7QtLcRQyw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7aQi7WjhGtUKyuw6j8VDrGPN9RjE7OXBG5wDwN16MT8=; b=FvWv5+WL5scbwdTq4GjCYXlTCKP42ukwrAOma0xl4LAsYX/zNWhGa/4SMTnsZOTf26fzuAuNBLWp3KDDzdo5DDmep3tWNtByZ9xiPYxcH/ZT82F9JNbg43ThXsPNXp5cWzqKE0pnu4wlYj8WoD02O27/Bk0wNYrReDw6vogdYcFiryH5c8HeViz9UUjWCSzdPb7L6uVd+nWeVkKK7XEomJjMnBZ3S2tkC0GTuskRMf+X5+RUitbhiam2tAsNCrdxiflsZ7TmZleOLam/j3GskzSj+2R6vA8f+ayiDffCz8NH0BcLT5Z2YA2r6cOuWR+qQoLmgXR0PRURUo1FPvn/Xw== Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) by AM6PR09MB2565.eurprd09.prod.outlook.com (2603:10a6:20b:51::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.16; Sat, 19 Feb 2022 14:57:15 +0000 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::b569:2640:494d:e192]) by AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::b569:2640:494d:e192%7]) with mapi id 15.20.4995.024; Sat, 19 Feb 2022 14:57:15 +0000 In-Reply-To: (emacsq's message of "Sat, 19 Feb 2022 04:10:29 +0000") X-TMN: [/BRflcaPN2zapcZVqPqe6vQzXJsFFVAx] X-ClientProxiedBy: AM0PR10CA0078.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:208:15::31) To AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) X-Microsoft-Original-Message-ID: <87y2263nw5.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: dd618af9-567b-449f-4497-08d9f3b81de9 X-MS-TrafficTypeDiagnostic: AM6PR09MB2565:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: R1Tr7QSGNg/HDEyRUccPdc+R5v+9BqR982QGxF55Xp7yKzgI0fHWIz+/0IbMpkA5HrDvaZOiE/5/MTmOCvt2XP0Px9bekC7F6AR79o2HzouU3wfs1U1bhWL2ml/SPKgSZmBMdjhzgxBCQ/GyA08B6TrDfudmPRzmVnurPyk6oj4yMnLEP05iLiYFGWHlZXJCUSHIKCDycwVb5YqoSl3rOLEbRql+bShyuILIlB6/k8AZ7a271c0L/rDyNqMWLsxsYguo1hOp/4uBeMzSLFPLlC75MDVl+rFCgVU7GYZap5dRBYtNBMLZQCCy4B+wEDKkwkr+kPWTNGFTlN0GqHJ3wOauUO/FcqkVhe3orZhtM3SaYbXPMGAO766+C2HKam3DCoCUqQvhJF+uVlfxcHxdL0+WxW5LO09NcinzXuUlI53hw1hu5iuRwzZcPryQOegN6zrg1+T63aT3SIjeEzinEWklzGkskHnzEvhw8BtUdbSBkVws+2nFE/T8kjSlqGqa0ntdUOgs1/C9VCOxv+12tY8x1vczkEWHOeLXlNMFxYtwmFA5+Qv1hf3YBRAVDaYT/ZU6G5gL8eO+NMMOHllmzg6pZaHpmcx9ZLxYtihpbqP8k8cKkqGUt8Xd5/y6q9iJ X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?CsJZW8jQS+G7qz3vJ5cebrQf7Q4bvGGMXnOErjGw+lZxJQdCZoQ5Hd9POevC?= =?us-ascii?Q?lyKdOFuaaVBM+l7lr0sztKvC5M19Xj1DwI093Jsj6jcWVc6UJIrrPgO65V28?= =?us-ascii?Q?Sqtz5/eH5QQLIlM/hN2zrPFrzWAerlD+NurHG81Yz9KDWkFjSVntZNiDrVWs?= =?us-ascii?Q?kPeB/gAvSrOkzyr5nvpdA6+1gmhrneiCGipS9xK8mEozu+RWjDJ2gt7BrT2J?= =?us-ascii?Q?V2Sql0pyAz6Qk9OGEGU1iQVbwc49QnzjFPbRhPDfNV/Hg6kHzeiKJhHUhCMW?= =?us-ascii?Q?Ti3eolMZwqDkrERVfRphPZi3jUeSDlPWd16XmP8caQUa0ZcoVjAr4fySHaEf?= =?us-ascii?Q?pbIkaewVI+W2RNNFYILIE1SuhzilCRLPlRzULv/lLk8f1QopFnDbJo0e4itM?= =?us-ascii?Q?/mniqOIiLRfE8/DZhw0nVCvxwU7zw+mBHuD1s9iawL5zOFqdlosZx5+1yIJS?= =?us-ascii?Q?/OgoX17/9wSHbwacNZQAh+aVWogethT1A/pfVgEJki//v8s/7SAd9BdeVgVk?= =?us-ascii?Q?dcDPUtIAZJU1zJIAWkKvF94MFvI/hT6oCT930jueivD8gz1zBu+U4PEhkp8R?= =?us-ascii?Q?V+DOo6IxmXYmaev9diR6DagrfCZ2mqYfgphNUtczkZHvZgMVgnePG6//CAG2?= =?us-ascii?Q?hT X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-64da6.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: dd618af9-567b-449f-4497-08d9f3b81de9 X-MS-Exchange-CrossTenant-AuthSource: AM9PR09MB4977.eurprd09.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Feb 2022 14:57:15.4275 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR09MB2565 Received-SPF: pass client-ip=40.92.65.32; envelope-from=arthur.miller@live.com; helo=EUR01-HE1-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:136002 Archived-At: emacsq writes: >> >> It isn't available on Haiku and doesn't work very well on MS-Windows, >> macOS, and even GNU/Linux. >> > > Thanks, I didn't use GTK on Windows or Mac, so I just assumed it > worked well on those too after 20 years of development. > > It's strange that after all that time there are still such rough > edges. Nah. Gtk is fine on it's own, it is just not designed to be used the way it is used in Emacs. For the Qt that come up in later comments, there is nothing wrong to rely on a C++ library or libraries, since Emacs is designed to work with GCC almost exclusively. For example, Emacs already rely on a Rust library (librsvg). However Qt does not have C interface, it is C++ exclusive library, and Emacs would probably have same issues with Qt as with Gtk. That is because Emacs reverse the framowork roles, which does not work always well with toolkits that are designed to be in driving seat of the application main loop and display. There is an interesting post about Emacs and how it threats graphical displays by D. Colascione who I believe implemented, or helped to implement double buffering in Emacs: https://m.facebook.com/nt/screen/?params=%7B%22note_id%22%3A10107017870677858%7D&path=%2Fnotes%2Fnote%2F&refsrc=deprecated&_rdr