spyder
spyder copied to clipboard
Better highlight selected pane
Hello,
I am using a lot the [Shift+Ctrl+E] and [Shift+Ctrl+C] shortcuts for switching from editor to console and reversely. That way I use spyder without the mouse usually and it's working well. But the only graphical information you have for knowing which of these windows is currently active is the text cursor.
The active window title ('Editor - ...' or 'Console') should be highlighted with darker or colored background.
Indeed, it would make it more evident, we will see what we can do about this
After 2.3.3 (I think), this information is visible in
View > Panes
I think that's enough, don't you think?
The thing is that looking at the question, the problem seems to be that besides a blinking cursor on one or the other (pane), there is no direct self evident way (without having to use mouse or keyboard) to know which widget is focused...
Maybe we can change the way the tab that is focused looks. Spyder right now.... Who has focus?

To give an example of a random idea (I just inverted the color of the tab in an image editor...). Who has focus?

I've made another image to show how it is in matlab :

But maybe it's easier to fix just by bolding the windows title. I think it doesn't break the look and it's evident enough :

My advice, at first, was just to darker a little the title background :
That's the way I think it fits the best.
Yep, definitely doable, and goes in hand with a pending change on the look of the dockwidget titile bars.
@ccordoba12, the PR #2288 that I closed could also address this issue. Now that some more benefits arise it makes sense to reopen it, and decide what would be the best course of action, we could add a light cerulean blue (or whatever color scheme we choose) to be the background of the title bar.
I find this suggestion of highlighting the active plugin a bit ugly. I'll have to see if it can be done in a more beautiful way :-)
I just saw how things work in Matlab, and I have to agree this is a very good suggestion to improve usability.
Let's wait for @goanpeca to implement it ;-)
Can you post a acreenshot of how it looks in matlab¿
You have it above: https://github.com/spyder-ide/spyder/issues/2344#issuecomment-95068569. There is both a rectangle and a background for the title.
I mean a screenshot of matlab
Doh, I was certain that it was from matlab, the look is really similar !
https://duckduckgo.com/?q=matlab+interface&t=canonical&iax=1&ia=images&iai=http%3A%2F%2Fetools.fernuni.ch%2Fmatlab%2Fmatlab2%2Fen%2Fimage%2Fgui.png
why not just adding a border to the title :
or to the window :
or both :

Ps : My "hand-made" image will always be uglier than built-in Qt rendering.
I find borders of the same colors not obvious enough. Keep in mind that there is a discussion to give the possibility to hide the tockwidgets titles (see https://github.com/spyder-ide/spyder/pull/2345#issuecomment-96438578) so the highligh should also be visible without them. This rules out your first suggestion.
Another possibility : change the background colour of the whole widget/pane. This can also be an option where the user chooses if he wants that behaviour and chooses the colour of the background of the focused pane.
Let me summarize the possibilities until now : 1 - highlight one tab of the focused pane 2 - add a border to the focused pane 3 - colouring differently the background of the pane and (useless if pane title if removed) : 4 - change the colour of the title background 5 - add a border to title 6 - change title font
This issue has been resolved and should be closed I guess.
The selected pane is highlighted now, yes, but it's barely visible in some screen resolutions. So, I think we can improve that.