[Gambas-Notification] [Git][gambas/gambas][master] Fix a crash on focus management. Do not raise 'Activate' event when showing an...

Benoît Minisini (@bminisini) gitlab at mg.gitlab.com
Sat Jan 1 16:25:40 CET 2022



Benoît Minisini pushed to branch master at Gambas / gambas


Commits:
67d760db by gambas at 2022-01-01T16:21:47+01:00
Fix a crash on focus management. Do not raise 'Activate' event when showing an embeded window to mimic Qt components behaviour.

[GB.GTK]
* BUG: Embedding a top-level window by reparenting now correctly removes it from the list of top-level windows.
* BUG: Do not raise 'Activate' event when showing an embeded window to mimic Qt components behaviour.
* BUG: Do not crash if a window has no explicit focus and no focusable child control.
* OPT: Start to replace dynamic event callback functions (one by object) by unique global functions.

[GB.GTK3]
* BUG: Embedding a top-level window by reparenting now correctly removes it from the list of top-level windows.
* BUG: Do not raise 'Activate' event when showing an embeded window to mimic Qt components behaviour.
* BUG: Do not crash if a window has no explicit focus and no focusable child control.
* OPT: Start to replace dynamic event callback functions (one by object) by unique global functions.

- - - - -


3 changed files:

- gb.gtk/src/CWindow.cpp
- gb.gtk/src/gmainwindow.cpp
- gb.gtk/src/gmainwindow.h


View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/67d760db17e15d9942f21d6c019c1df737e0635e

-- 
View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/67d760db17e15d9942f21d6c019c1df737e0635e
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/notification/attachments/20220101/282adfa9/attachment.htm>


More information about the Notification mailing list