Skip to content

Maximize button not working properly with auto-hide taskbar enabled #81102

Closed

Description

Version: 1.39.0-insider (user setup)
Commit: cc481ab
Date: 2019-09-18T07:02:14.165Z
Electron: 6.0.9
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Windows_NT x64 10.0.18362

Steps to Reproduce:

  1. Start VS code in normal window state
  2. Maximize it through the maximize button

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

Activity

  1. vscodebot commented on Sep 18, 2019

    @vscodebot

    (Experimental duplicate detection)
    Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

  2. lllopo commented on Sep 18, 2019

    @lllopo
    Author

    No, it is not #79902 :-)

  3. ABeeinSpace commented on Sep 18, 2019

    @ABeeinSpace

    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

  4. lllopo commented on Sep 18, 2019

    @lllopo
    Author

    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).

  5. ABeeinSpace commented on Sep 18, 2019

    @ABeeinSpace

    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.

  6. lllopo commented on Sep 18, 2019

    @lllopo
    Author

    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.

  7. added
    titlebar
    on Sep 19, 2019
  8. sbatten commented on Sep 23, 2019

    @sbatten
    Member

    if this is only reproducing in insiders, this is likely electron Robo (@deepak1556) Benjamin Pasero (@bpasero)

  9. bpasero commented on Sep 24, 2019

    @bpasero
    Contributor

    SteVen Batten (@sbatten) can you try to reproduce too please? I cannot.

    Georgi Georgiev (@lllopo) did you configure the window.titleBarStyle setting?

  10. added
    info-needed
    on Sep 24, 2019
  11. lllopo commented on Sep 24, 2019

    @lllopo
    Author

    SteVen Batten (@sbatten) can you try to reproduce too please? I cannot.

    Georgi Georgiev (@lllopo) did you configure the window.titleBarStyle setting?

    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.

  12. bpasero commented on Sep 24, 2019

    @bpasero
    Contributor

    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)?

  13. 28 remaining items

  14. added
    candidate
    on Nov 14, 2019
  15. dcourtois commented on Nov 17, 2019

    @dcourtois

    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.

  16. lllopo commented on Nov 17, 2019

    @lllopo
    Author

    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.

  17. tonygiang commented on Nov 18, 2019

    @tonygiang

    If I am reading this correctly, this entry is actually 2 different issues:

    1. The maximize button on the upper right corner does not do anything
    2. VSCode in maximized state does not allow autohide taskbar to trigger
  18. eeasoftware commented on Nov 18, 2019

    @eeasoftware

    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

  19. deepak1556 commented on Nov 18, 2019

    @deepak1556
    Collaborator

    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.

  20. lllopo commented on Nov 21, 2019

    @lllopo
    Author

    It's over, latest insiders works fine again for me ! Hallelujah !

  21. deepak1556 commented on Nov 21, 2019

    @deepak1556
    Collaborator

    Fixed with #85266

  22. klenium commented on Nov 24, 2019

    @klenium

    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?

  23. 0x5c commented on Dec 31, 2019

    @0x5c

    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

  24. locked and limited conversation to collaborators on Jan 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

candidateconfirmedtitlebarupstreamupstream-issue-linkedverified

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions