Debian Bug report logs - #1028637
Spyder stops showing indent guides after restart

version graph

Package: spyder; Maintainer for spyder is Debian Science Maintainers <[email protected]>; Source for spyder is src:spyder (PTS, buildd, popcon).

Reported by: local10 <[email protected]>

Date: Fri, 13 Jan 2023 23:42:02 UTC

Severity: normal

Tags: fixed-upstream

Found in version spyder/5.4.1+ds-1

Forwarded to https://github.com/spyder-ide/spyder/issues/20380

Full log


đź”— View this message in rfc822 format

X-Loop: [email protected]
Subject: Bug#1028637: Spyder stops showing indent guides after restart
Reply-To: Julian Gilbey <[email protected]>, [email protected]
Resent-From: Julian Gilbey <[email protected]>
Resent-To: [email protected]
Resent-CC: Debian Science Maintainers <[email protected]>
X-Loop: [email protected]
Resent-Date: Mon, 16 Jan 2023 16:27:05 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Debian-PR-Message: followup 1028637
X-Debian-PR-Package: spyder
X-Debian-PR-Keywords: 
References: <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]> <[email protected]>
X-Debian-PR-Source: spyder
Received: via spool by [email protected] id=B1028637.16738863463221051
          (code B ref 1028637); Mon, 16 Jan 2023 16:27:05 +0000
Received: (at 1028637) by bugs.debian.org; 16 Jan 2023 16:25:46 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
	(2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-6.2 required=4.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HAS_BUG_NUMBER,SHIP_ID_INT,
	SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no
	version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 8; hammy, 145; neutral, 66; spammy, 0.
	spammytokens: hammytokens:0.000-+--14pm, 0.000-+--14PM,
	0.000-+--H*r:jdg, 0.000-+--H*r:sk:erdos.d, 0.000-+--H*RU:sk:erdos.d
Received: from d-and-j.net ([78.32.133.108]:39890 helo=erdos.d-and-j.net)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1pHSIs-00DVwF-Op
	for [email protected]; Mon, 16 Jan 2023 16:25:46 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=d-and-j.net
	; s=mail; h=In-Reply-To:Content-Transfer-Encoding:Content-Type:MIME-Version:
	References:Message-ID:Subject:To:From:Date:Sender:Reply-To:Cc:Content-ID:
	Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
	:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
	List-Post:List-Owner:List-Archive;
	bh=YICbXUFScrX7hUINczw8HsDdFDH/j8pEWH1/WXbeULI=; b=n38vPNic2Ji7xc9rJZmCpm2OS3
	ge+qZRS/OPGFy4dL1ac+e+yCucT6aliDKSoz+VK47IzbR094Q2bW43KFXmjzFN6ECcN+27QCWCiR7
	KMPaogxWpkF1w+zYdNvyFar1AXBVayRSqBq2Vsu5ywgIGaERUYOry55Ak9c3VyX0oU/s=;
Received: from jdg by erdos.d-and-j.net with local (Exim 4.96)
	(envelope-from <[email protected]>)
	id 1pHSIp-009GLs-1v;
	Mon, 16 Jan 2023 16:25:43 +0000
Date: Mon, 16 Jan 2023 16:25:43 +0000
From: Julian Gilbey <[email protected]>
To: local10 <[email protected]>, [email protected]
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <[email protected]>
On Mon, Jan 16, 2023 at 05:03:14PM +0100, local10 wrote:
> Jan 16, 2023, 15:10 by [email protected]:
> 
> > Oh, that's really interesting.
> >
> > If you open Spyder to the subprocess.py file and just wait (maybe 10
> > or 20 seconds, possibly longer), do the indent marks then appear?
> > They did for me, so I'm wondering if it's just that lots of processing
> > is happening and it takes a while for them to appear on startup.
> 
> Tried it but it didn't work for me: Opened subprocess.py in Spyder in a single tab, no other files are opened, switched focus to another app, waited ~20 seconds, back to Spyder, no indent guides still. However, switching the "Show indent guides" menu option off and then back on again brought the indent guides back (however, I know that trick doesn't work when I have 6-8 files opened in different tabs).
> 
> Pretty strange. This is what I have:

OK, this is weird.  I can't see any indented blocks when I open
subprocess.py without scrolling, so I'm presuming that at some point
you scroll to see that the indented blocks?  Also, what I most
recently did wasn't quite the same as you; I did the following:

* Open Spyder - the only tab is subprocess.py
* Scroll down a bit so I can see an indented block
* Wait about 20-30 seconds
* The indented block guides appear

Could you try that and let me know what you find?

Best wishes,

   Julian

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Thu May 15 15:34:42 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.