setSelectAllWhenFocused with mouse click


#1

Is the method doing what it’s supposed to do ?
Cause i’m getting it to work only if i focus the text editor with the keyboard (switching focus with tab), not when i click-select it with the left mouse click.
I have set also:

  setWantsKeyboardFocus(true);
  setMouseClickGrabsKeyboardFocus(true);

Anyone other is experiencing the same issue ?


#2

Clicking on text fields in the jucer seems to work as expected…


#3

not here (trying the juce demo). probably it’s a linux quirk ?

mmh in my component i have a table, and those text editors are cell components of that table… maybe that could be the root of my problems ?


#4

could be something linuxy, I guess. Which bit of the juce demo are you trying it with?