Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined bounds when resizing or moving window #3462

Closed
adzialocha opened this issue Nov 2, 2023 · 0 comments · Fixed by #3461
Closed

Undefined bounds when resizing or moving window #3462

adzialocha opened this issue Nov 2, 2023 · 0 comments · Fixed by #3461
Labels
bug Something isn't working

Comments

@adzialocha
Copy link
Member

adzialocha commented Nov 2, 2023

  • Operating System (Linux/Mac/Windows/iOS/Android): Linux 6.5.9-arch2-1 x86_64 GNU/Linux
  • Delta Chat Version: Deltachat Version 1.40.4 v1.33.0-433-g2ee34084 1698919631540
  • Expected behavior: Bounds are stored in config file when resizing or moving window
  • Actual behavior: Cannot read properties of undefined (reading 'getBounds') error
  • Steps to reproduce the problem: Start DC and resize window (using only X11 + i3 as window manager, no desktop)
  • Logs:
    1.8s [E]main/index: uncaughtError {
      message: "Cannot read properties of undefined (reading 'getBounds')",
      stack: "TypeError: Cannot read properties of undefined (reading 'getBounds')\n" +
        '    at BrowserWindow.<anonymous> (/home/adz/dev/deltachat/deltachat-desktop/src/main/windows/main.ts:82:47)\n' +
        '    at Timeout.later [as _onTimeout] (/home/adz/dev/deltachat/deltachat-desktop/node_modules/debounce/index.js:27:23)\n' +
        '    at listOnTimeout (node:internal/timers:569:17)\n' +
        '    at processTimers (node:internal/timers:512:7)'
    }
    process.<anonymous> (/home/adz/dev/deltachat/deltachat-desktop/src/main/index.ts:107:9),
    process.emit (node:events:525:35),
    process.emit (/home/adz/dev/deltachat/deltachat-desktop/node_modules/source-map-support/source-map-support.js:516:21),
    process._fatalException (node:internal/process/execution:149:25)
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant