Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

When re-launching when maximised, window is offset by several pixels & no longer maximised #7664

Closed
ghost opened this issue Mar 12, 2017 · 6 comments

Comments

@ghost
Copy link

ghost commented Mar 12, 2017

Test plan

Windows

  1. Launch Brave and maximize the window.
  2. Quit and relaunch Brave again
  3. Window should retain it's maximized status
  4. Enter fullscreen mode (F11)
  5. Quit and relaunch Brave again
  6. Window should retain it's fullscreen status

macOS

  1. Launch Brave and try to maximize the window by double clicking in empty space in the titlebar area (note: this doesn't always seem to work- if not, try to make window take up entire area)
  2. Quit and relaunch Brave again
  3. Window should retain it's size
  4. Enter the macOS fullscreen app mode by pressing the Green traffic light button
  5. Quit and relaunch Brave again
  6. Window should retain it's fullscreen status

Original issue description

  • Description:
    When re-launching the browser (after the previous session ended with the browser maximised), instead of launching maximised again, the window is offset by several pixels vertically & horizontally, and is no longer maximised.

  • Platform:
    Windows 10 64-bit

  • Brave Version:
    Brave: 0.13.5
    rev: 1db81cb
    Muon: 2.56.8
    libchromiumcontent: 56.0.2924.87
    V8: 5.6.326.50
    Node.js: 7.4.0
    Update Channel: dev
    os.platform: win32
    os.release: 10.0.14393
    os.arch: x64

  • Steps to reproduce:

    1. Set the window to maximised.
    2. Close the browser entirely.
    3. Open the browser.
  • Actual result:
    The window is offset by several pixels vertically & horizontally, and the OS no longer considers it maximised: https://i.imgur.com/rJ7VBtV.png

  • Expected result:
    The Window should replicate that of what it was when previously closed - i.e. maximised: https://i.imgur.com/dG3Atrp.png

@bsclifton
Copy link
Member

bsclifton commented Mar 17, 2017

Possibly related: #3754, #5267, and #6602

@bsclifton bsclifton added this to the 0.14.0 milestone Mar 20, 2017
@bsclifton bsclifton self-assigned this Mar 20, 2017
@bsclifton
Copy link
Member

found it- caused by this commit: 6d72210

@ghost
Copy link
Author

ghost commented Aug 18, 2017

The plan to solve this (Start, maximize, exit, start) doesn't solve it for me. I hope you fix this in future versions, because this is the only big flaw when I am using it :)

@NejcZdovc
Copy link
Contributor

@ChiSeeker hi, I already have a PR up (#10458) for this and it should fix all this problems. Thank you for your report 👍

@ghost
Copy link
Author

ghost commented Aug 18, 2017 via email

@NejcZdovc
Copy link
Contributor

NejcZdovc commented Aug 18, 2017

@ChiSeeker yes this will be merged into the master branch and released with the version 0.20. So you will get it as an update automatically. And yeah I am from Slovenia 😃

@luixxiul luixxiul changed the title Fixed re-launching when maximised to keep window maximized When re-launching when maximised, window is offset by several pixels & no longer maximised Aug 19, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.