From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BC0ADC433DF for ; Sun, 28 Jun 2020 15:51:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 907F7206F1 for ; Sun, 28 Jun 2020 15:51:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1593359499; bh=aEBIFm3cApZp650iVhlfBnPy/pCb3TCilHJBeNcPmmY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=Rirrm3TUk39Q3+2hfWhmdcWAGNKQZ8xbOS4ygryM5nDlL4Jgc7xEonSXAJNiYM4vr BtI5JbQGWIj6lY+eH20PzTGxmybezHt9P6Jz2alIUmS7B2+n2MgIuokDfaHbNnIi9Z rLSNMnXr+3RqxKLpWfGf1Qy9I4WCv+qGeqOpbpGQ= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726460AbgF1Pvi (ORCPT ); Sun, 28 Jun 2020 11:51:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:60026 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726011AbgF1Pvh (ORCPT ); Sun, 28 Jun 2020 11:51:37 -0400 Received: from coco.lan (ip5f5ad5c5.dynamic.kabel-deutschland.de [95.90.213.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EE2F8206F1; Sun, 28 Jun 2020 15:51:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1593359497; bh=aEBIFm3cApZp650iVhlfBnPy/pCb3TCilHJBeNcPmmY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Ui4oREh4TYm0Dq+XfKyncwPKS2881HXRjJJKeWU3vynPJFUqcHpK3CB+3PgYUglT1 4HwIxgBp67dpoSsM36jmPP/WMF7ahfVxiPCmyHASwltn3RhsHcSVkuMW+lupsrjSl7 P5050dJCt/2Kmp2Q6xkZwfI9iwPXBS+stFiWx9E4= Date: Sun, 28 Jun 2020 17:51:33 +0200 From: Mauro Carvalho Chehab To: Maxim Levitsky Cc: Masahiro Yamada , Linux Kbuild mailing list , Linux Kernel Mailing List Subject: Re: [PATCH] kconfig: qconf: make debug links work again Message-ID: <20200628175133.6a82ca42@coco.lan> In-Reply-To: <9ed32076053cd860900366dc9e12e5cb76d031b5.camel@redhat.com> References: <9ed32076053cd860900366dc9e12e5cb76d031b5.camel@redhat.com> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Sun, 28 Jun 2020 17:48:08 +0300 Maxim Levitsky escreveu: > On Sun, 2020-06-28 at 23:41 +0900, Masahiro Yamada wrote: > > On Sun, Jun 28, 2020 at 9:21 PM Mauro Carvalho Chehab > > wrote: =20 > > > The Qt5 conversion broke support for debug info links. > > >=20 > > > Restore the behaviour added by changeset > > > ab45d190fd4a ("kconfig: create links in info window"). > > >=20 > > > Reported-by: Maxim Levitsky > > > Signed-off-by: Mauro Carvalho Chehab =20 > >=20 > > I tested this patch, but this caused > > segmentation fault. > >=20 > >=20 > > I enabled 'Show Debug Info', > > and then clicked > > dep: . > >=20 > > Then, xconfig crashed. > >=20 > > (without this patch, it did not cause > > segfault at least) > >=20 > > Did you see this? =20 >=20 > Works for me - tested this again=20 It works for me too, but I'll double check. I don't actually like the way it works, as it passes a pointer via the hyperlinks, instead of some other type of reference, but this is the way the qt3 version used to work. I'll see if I can implement it on a different way, or at least add some validation check. Btw, what symbol did you click? > (I have both patches applied on top on mainline master branch). > Maybe you have Qt4? >=20 > One thing that I forgot to report is that when clicking on the symbol, > only config descripion updates and not config/menu windows. > It might even be always like that, I don't remember, but it would be nice= if=20 > these were updated too. =46rom what I saw this is the old behavior, at least as implemented on changeset ab45d190fd4a ("kconfig: create links in info window"). See the implementation of ConfigInfoView::setSource() there. I agree that it would be nice to change the other windows to reflect it, but the goal of this patch is just to restore the old behavior. A followup patch could be done later in order to improve it. Regards, Mauro