Changes between Version 1 and Version 2 of Ticket #15612, comment 6


Ignore:
Timestamp:
Jan 15, 2020, 9:50:06 PM (5 years ago)
Author:
Paradoxon

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15612, comment 6

    v1 v2  
    22> Sorry for the "drive-by commenting", but any chance that lines like this one are relevant? :
    33> https://xref.landonf.org/source/xref/haiku/src/kits/interface/TextView.cpp#5178
     4Thank you for investigating ... :-)
    45
    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 :).
     6Thanks
    77
    8 Thanks...
     8Actually 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....
     9But actually once the Texfield get losing focus ... it will also delete all Arrow Shortcuts so maybe the fInstalledNavigateCommandWordwiseShortcuts isnt set correctly..
     10
     11
     12Because 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...