Meulengracht/MollenOS

[userspace] extending Asgaard and the WM protocol

Closed this issue · 2 comments

In order to support more advanced WM functionality required when we port the text editor and SDL, we need to implement and extend Asgaard with more functionality:

  • Finish implementation of resizing
  • Add posibility to swap between normal size/fullscreen
  • Implement concept of 'on top'
  • Implement missing destroy of pools
  • Implement missing grab of mouse
  • Icon: Click functionality
  • Decoration bar: Move functionality
  • Decoration bar: Maximize functionality
  • Decoration bar: Close functionality
  • Fix the crash that occurs when an asgaard-based application shutsdown
  • Remember to register cleanup on atexit
  • Cleanup clients that disconnect due to abrubt application exit

It seems that it is a memory corruption that occurs in m_objects when ObjectManager::Destroy is invoked. The first thing that happens is we iterate through all objects and unsubscribe - but it seems that it crashes with invalid memory address when it tries to find the next link in the map after the first objec.t

Fixed, we called destructors twice of ObjectManager and Application. Now we just need automated cleanup in vioarr