Input Filters fail to work when overriden through server configuration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Undecided
|
Robert Carr |
Bug Description
While InputFilters appear to work in tests (tests/
http://
they seem to not work. By the the time InputFilter is invoked by the FilterChain (in reponse to key events) somehow the shared_ptr member has become NULL. Investigation with GDB is strange, in mi::create_
You should be able to reproduce the segfault:
chmod 777 /dev/input/* // ;)
./buils/
<Type some characters>
Related branches
- PS Jenkins bot (community): Approve (continuous-integration)
- Alexandros Frantzis (community): Approve
- Daniel van Vugt: Approve
-
Diff: 196 lines (+109/-26)2 files modifiedexamples/CMakeLists.txt (+21/-26)
examples/demo_input_filter.cpp (+88/-0)
Changed in mir: | |
milestone: | none → 0.0.3 |
assignee: | nobody → Robert Carr (robertcarr) |
Changed in mir: | |
status: | Fix Committed → Fix Released |
Something needs to keep a reference to the initializer_list for seemingly non identifiable reasons (there should be a reference on the stack down through the EventFilterChain constructor as described above)! See r568...does someone understand?