Comments (5)
I think my initial diagnosis is correct.
The "top level" handler is never getting called when an event is generated in compound widget, it should get called with the event structure returned by the compound widget's internal handler. See the attached test codes for CW_BGROUP, other compound widgets show the same behaviour.
Demo routines
Main test code: test_bg_events.pro
CW_BGROUP modified to print event diagnostics: cw_bgroup_test.pro
The regression occurs between commits 44a497b and 33ea0c9.
from gdl.
Ah yes, there was this change after finding a problem with HESSI plot panels (#1659 (comment)), that were not called by the right hander.
To be continued...
from gdl.
@jtappin you have demonstrated a problem with the current WIDGET_EVENT function. It does not obey the logic described in the documentation. This needs to be rewritten...
In the meantime you can comment out "return ev;
" at line 389 in widget.cpp
.
from gdl.
@GillesDuvert if you could fix that I really think it will be time for a 1.0.5, before a 1.1 !
from gdl.
#1716 will do the job, letting SSW's 'PLOTMAN' draw widget work and still have compound widgets working.
However this is not satisfactory, according to the documentation the 'plotman' event handling should not work...
but it works... The code used by plotman is reproduced in test_widgets (1st draw panel).
from gdl.
Related Issues (20)
- READ_BINARY.PRO should read 4-byte packages in case of LONGs HOT 4
- Windows installer does not ship UDUNITS XML files HOT 1
- MASK keyword not enforced in GAUSS2DFIT()
- Compilation error HOT 5
- H5D_OPEN fails on windows, because of a (long) cast
- WIDGET_CONTROL, SET_VALUE=..., /APPEND fails if repeated HOT 6
- H5D_read has problems with variable-length strings HOT 2
- GDL segfaults when dividing by 0 HOT 6
- WIDGET_TABLE no longer emits "CELL_SELECT" events upon mouse click since rework HOT 9
- IDL changed owner !!! HOT 1
- disallow non-squash merge modes on GitHub? HOT 3
- OSX: performance issues within Clang + duplicate symboles with g++-13 HOT 7
- release workflow: check if weekly-build tarballs have correct version info after #1753 was merged HOT 2
- xpos and ypos have no effect on windows procedure HOT 7
- check READ/READF code for speed HOT 1
- check ProgNode::NumberForLoops() behaviour for each prognode type.
- OSX Apple M1 (at least) does operations on ASSOC variables slowly ON THE SECOND CALL
- DMG (Apple OSX) "installer" produced with each Release: Tag with OSX version HOT 1
- Regression: WIDGET_TABLE segfaults when no value set at instatiation and then setting value HOT 3
- detail(s) in the script "build_gdl.sh" HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdl.