Skip to content

Resize Display Horizontally Crashes Current Window

  • I agree that I have searched opened and closed issues to prevent duplicates.

Description

Upon opening nearly any app and attempting to resize it horizontally or diagonally, or hitting the maximize button in full screen, the app will crash and close.

Environment info

  • Redox OS Release: 0.7.0
  • Operating system: Pop! OS
  • uname -a: Linux pop-os 5.18.10-76051810-generic #202207071639~1659108431~22.04~c9172fb SMP PREEMPT_DYNAMIC Fri J x86_64 x86_64 x86_64 GNU/Linux
  • rustc -V: rustc 1.62.1 (e092d0b6b 2022-07-16)
  • git rev-parse HEAD: git rev-parse HEAD

1080 16 x 9 resolution

Steps to reproduce

  1. Log in
  2. Open an app with resize-ability (Except for the browser, see #1362 (closed))
  3. Resize horizontally, or diagonally, or returning from full screen with 'maximize' button

Behavior

  • Expected behavior: App window resizes and is fully adjustable to whatever size without crashing
  • Actual behavior: Crashes on resize horizontally or diagonally
thread 'main' panicked at 'orbclient: failed to unmap memory in resize: Invalid argument', /home/papapop/.cargo/registry/src/github.com-1ecc6299db9ec823/orbclient-0.3.32/src/sys/orbital.rs:260:18
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
launcher: /ui/bin/editor (266) exited with exit status: 101
  • Proposed solution: Fix the unmapping error shown above

Optional references

Optional extras

Edited by Ktoks