You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Maximize button not working properly with auto-hide taskbar enabled #81102
candidateIssue identified as probable candidate for fixing in the next releaseconfirmedIssue has been confirmed by VS Code Team membertitlebarVS Code main title bar issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)upstream-issue-linkedThis is an upstream issue that has been reported upstreamverifiedVerification succeeded
Expected result - VS Code maximizes and the button changes to it's maximized glyph, user is able to restore to normal window through the same button
Actual result - VS Code maximizes visually, BUT the window actually just takes the screen size while remains draggable and the glyph remains the one for the normal state. The user is unable to restore normal state by clicking ti again.
Note : the maximize/restore by double clicking the title bar works normally.
Does this issue occur when all extensions are disabled?: Yes
Reacted by Gameghostify, Thomas Orlowski, Eric Amodio, E. Dronkert, Abhinav Kumar, Axel D., PA_bonbon2233, Hamzeh Ghoreyshi, Julian Burner, Yang and 4 more
I see the expected behavior on Windows 10 ver. 18362. VS Code maximizes, the glyph changes, and when dragged the window properly restores down before moving.
I'm on VS Code 1.38.1, Electron 4.2.10
Chrome 69
Node 10.11.0
V8: 6.9.427.31
In addition - I said maximize/restore works properly through double-clicking the title bar, but this is not entirely true. When maximized, VS Code prevents the windows taskbar from showing up (it is set to autohide on my system).
I was using the maximize button but didn't specify in my reply. My apologies. However, I'm still unable to reproduce the issue. I'm not at the PC I was using, and won't be for another 24 hrs. I can try to reproduce on another system but again that will take a few hours for me to be able to access it.
I was using the maximize button but didn't specify in my reply. My apologies. However, I'm still unable to reproduce the issue. I'm not at the PC I was using, and won't be for another 24 hrs. I can try to reproduce on another system but again that will take a few hours for me to be able to access it.
It is on insiders builds, appeared a few builds ago, so you can't reproduce it on stable branch anyway.
Georgi Georgiev (@lllopo) ok so to confirm, this only happens when window.titleBarStyle: custom is configured. What is your exact windows version (winver in cmd prompt)?
Just had this issue after updating recently, glad it's already being investigated (I'm also auto hiding my task bar (on Windows 10) and it happens only with the title bar setting of VSCode set to "custom". Reverting to the native title bar fixes everything)
But I'd like to mention another problem that seems related : when vscode is maximized (either by double clicking the custom title bar or using the upper right corner icon) then my task bar will not show. I have to manually minimize my vscode to be able to show the task bar. e.g.:
set your system's task bar in auto-hide and vscode in custom title bar
launch vscode and maximize its window
try to move the mouse cursor to where the task bar usually pops... nothing happens
If you use the native title bar, everything works, the task bar correctly pops when the mouse move over it.
Also mentioned already. My temporary workaround for now is to click once one the maximize button. Although it’s still not working, it makes the taskbar appear agin for some unknown reason.
I am able to reproduce the error mentioned by dcourtois.
It doesn't matter what other applications are running, when the focus is on vscode, the windows taskbar does not auto-pop-up. When I focus on another application in a different screen or a different application in the same screen (doesn't really matter), I can unhide/auto-hide the task bar.
For reference, this issue started for me after the latest update.
vscode: 1.40.1
os: windows 7
Thanks for the reports, the issue is being actively worked on , fix is already up on electron end electron/electron#21164 and will soon be available in the next vscode stable recovery release later this week.
This is crazy. Electron had a bug (hey, what is testing?) that is already fixed by now. About 4 programs I use and depends on Electron released their program with the Electorn's bug (VS Code was updated today...), so now I can be pretty happy. This is amazing how many programs depend on other programs, so users will get these trivial bugs, one program brokes 5 other, and fixes for these 5 will come some months later. That's why we replaced stable GUI technologies like WPF?
candidateIssue identified as probable candidate for fixing in the next releaseconfirmedIssue has been confirmed by VS Code Team membertitlebarVS Code main title bar issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)upstream-issue-linkedThis is an upstream issue that has been reported upstreamverifiedVerification succeeded
Activity
vscodebot commentedon Sep 18, 2019
(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:
lllopo commentedon Sep 18, 2019
No, it is not #79902 :-)
ABeeinSpace commentedon Sep 18, 2019
I see the expected behavior on Windows 10 ver. 18362. VS Code maximizes, the glyph changes, and when dragged the window properly restores down before moving.
I'm on VS Code 1.38.1, Electron 4.2.10
Chrome 69
Node 10.11.0
V8: 6.9.427.31
lllopo commentedon Sep 18, 2019
In addition - I said maximize/restore works properly through double-clicking the title bar, but this is not entirely true. When maximized, VS Code prevents the windows taskbar from showing up (it is set to autohide on my system).
ABeeinSpace commentedon Sep 18, 2019
I was using the maximize button but didn't specify in my reply. My apologies. However, I'm still unable to reproduce the issue. I'm not at the PC I was using, and won't be for another 24 hrs. I can try to reproduce on another system but again that will take a few hours for me to be able to access it.
lllopo commentedon Sep 18, 2019
It is on insiders builds, appeared a few builds ago, so you can't reproduce it on stable branch anyway.
sbatten commentedon Sep 23, 2019
if this is only reproducing in insiders, this is likely electron Robo (@deepak1556) Benjamin Pasero (@bpasero)
bpasero commentedon Sep 24, 2019
SteVen Batten (@sbatten) can you try to reproduce too please? I cannot.
Georgi Georgiev (@lllopo) did you configure the
window.titleBarStylesetting?lllopo commentedon Sep 24, 2019
No, I don't have it (and it defaults to custom, I guess). When set to 'native', it works as intended, but that can be expected.
bpasero commentedon Sep 24, 2019
Georgi Georgiev (@lllopo) ok so to confirm, this only happens when
window.titleBarStyle: customis configured. What is your exact windows version (winver in cmd prompt)?28 remaining items
dcourtois commentedon Nov 17, 2019
Just had this issue after updating recently, glad it's already being investigated (I'm also auto hiding my task bar (on Windows 10) and it happens only with the title bar setting of VSCode set to "custom". Reverting to the native title bar fixes everything)
But I'd like to mention another problem that seems related : when vscode is maximized (either by double clicking the custom title bar or using the upper right corner icon) then my task bar will not show. I have to manually minimize my vscode to be able to show the task bar. e.g.:
If you use the native title bar, everything works, the task bar correctly pops when the mouse move over it.
lllopo commentedon Nov 17, 2019
Also mentioned already. My temporary workaround for now is to click once one the maximize button. Although it’s still not working, it makes the taskbar appear agin for some unknown reason.
tonygiang commentedon Nov 18, 2019
If I am reading this correctly, this entry is actually 2 different issues:
eeasoftware commentedon Nov 18, 2019
I am able to reproduce the error mentioned by dcourtois.
It doesn't matter what other applications are running, when the focus is on vscode, the windows taskbar does not auto-pop-up. When I focus on another application in a different screen or a different application in the same screen (doesn't really matter), I can unhide/auto-hide the task bar.
For reference, this issue started for me after the latest update.
vscode: 1.40.1
os: windows 7
deepak1556 commentedon Nov 18, 2019
Thanks for the reports, the issue is being actively worked on , fix is already up on electron end electron/electron#21164 and will soon be available in the next vscode stable recovery release later this week.
lllopo commentedon Nov 21, 2019
It's over, latest insiders works fine again for me ! Hallelujah !
deepak1556 commentedon Nov 21, 2019
Fixed with #85266
klenium commentedon Nov 24, 2019
This is crazy. Electron had a bug (hey, what is testing?) that is already fixed by now. About 4 programs I use and depends on Electron released their program with the Electorn's bug (VS Code was updated today...), so now I can be pretty happy. This is amazing how many programs depend on other programs, so users will get these trivial bugs, one program brokes 5 other, and fixes for these 5 will come some months later. That's why we replaced stable GUI technologies like WPF?
0x5c commentedon Dec 31, 2019
Issue is still present on 1.41.1
Edit: Used the "Copy" button
Version: 1.41.1 (system setup)
Commit: 26076a4
Date: 2019-12-18T14:58:56.166Z
Electron: 6.1.5
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Windows_NT x64 10.0.17763
Edit 2: found #86260