There are some bug report about problems when the window is minimized.
I was able to reproduce this bug minimizing the window, hiding the dock
(using the system settings), showing the dock again, and trying to
restore the window.
When we change the number of monitors, we've to restore the primary
DirectDraw surface, but it cannot be just "restored", it must be
re-created.
Note: probably the real fix for #436 too
Now we generate she::Event::MouseEnter/Leave events correctly when the
mouse leaves or enters into the window to show the native cursor again
when necessary.
Close#466
- Add ResourceFinder::includeUserDir() (used by aseprite.ini, crash dump,
and aseprite.log). These locations depend on App::isPortable() (if the
app is portable or installed).
- We don't need to change the current directory in
applicationDidFinishLaunching anymore (ResourceFinder::includeDataDir()
takes care about bundles now in a correct way).
- Migrate old ~/.asepriterc to ~/.config/aseprite/aseprite.ini
Now, a set_gfx_mode() (in Mac OS X) can accept almost any resolution,
the screen will be created with the NSView bounds anyway (which can be
smaller than the given size in set_gfx_mode()).
- Fix double-click behavior when double-clicks are generated from
Manager::generateMouseMessages().
- Add Widget::setDoubleClickeable/isDoubleClickeable() member functions
for widgets that accept double-clicks.
Related to issue 359: Program exits unexpectently after minimizing
and maximizing too fast.
I should find the cause of _al_wd_dirty_lines = NULL, but I wasn't able
to reproduce this bug, so at the moment this is the best I can do to avoid
a crash. (I suppose that it's related to a temporary invalid state because
thread sync issues when the screen/window changes its size.)
- Fixed issue #46: open .png files with Unicode chars
- Fixed issue #150: ability to uncompress program in folders w/Unicode chars
- Added base::utf8_iterator
- Added base::FileHandle
- Added base::get_app_path()
- Modified ui::KeyMessage::ascii() -> unicodeChar()
- Removed JI_NOTEXT flag
- Added app::XmlDocumentRef class and app::open_xml() function
- Added support for Unicode text exchange with Win32 clipboard
The function _handle_key_press() cannot be used if keyboard_driver is
NULL and this can happen in the creation process of the window if the user
is pressing keys.
It fix a deadlock when we try to create a window that doesn't fit the
desktop and we have the mouse above that opened window (which could
be pretty common).