Changes between Version 1 and Version 2 of Ticket #15612, comment 6
- Timestamp:
- Jan 15, 2020, 9:50:06 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #15612, comment 6
v1 v2 2 2 > Sorry for the "drive-by commenting", but any chance that lines like this one are relevant? : 3 3 > https://xref.landonf.org/source/xref/haiku/src/kits/interface/TextView.cpp#5178 4 Thank you for investigating ... :-) 4 5 5 Actually that could be the solution... since it removes the ARROW Shortcuts without check if the Textview installed it... and since its called in void BTextView::WindowActivated(bool active) ... but i need somehow to check if its called with active false or IsFocus() false and fActive is true :) somewhen on startup.... 6 But actually once the Texfield get losing focus ... it will also delete all Arrow Shortcuts anyway... thats causing the trouble :). 6 Thanks 7 7 8 Thanks... 8 Actually that could be the solution... since it removes the ARROW Shortcuts and since its called in void BTextView::WindowActivated(bool active) but actually it is normally checking fInstalledNavigateCommandWordwiseShortcuts so if the TextView installed this shortcuts... i think i need somehow to check if its called with active false or IsFocus() false and fActive is true :) somewhen on startup.... 9 But actually once the Texfield get losing focus ... it will also delete all Arrow Shortcuts so maybe the fInstalledNavigateCommandWordwiseShortcuts isnt set correctly.. 10 11 12 Because i made some test... adding the Textvield only after the Windows is active... then the BMenu Shortcuts will work... but only as long as the TextView (content) isnt updated...