Re: Outliner keyboard navigation fails on MacOS

2020-01-11 Thread Jason Sun
I am working on a patch as of now. On Fri, Dec 27, 2019 at 9:39 PM Scott Kostyshak wrote: > On Sat, Jun 29, 2019 at 05:33:04PM -0400, Jason Sun wrote: > > Let me check again. I have been working on another larger extension these > > days. > > > > On Sat, Jun 29, 2019 at 1:22 PM Stephan Witt

Re: Outliner keyboard navigation fails on MacOS

2019-12-27 Thread Scott Kostyshak
On Sat, Jun 29, 2019 at 05:33:04PM -0400, Jason Sun wrote: > Let me check again. I have been working on another larger extension these > days. > > On Sat, Jun 29, 2019 at 1:22 PM Stephan Witt wrote: > > > Am 25.06.2019 um 18:33 schrieb Richard Kimberly Heck : > > > > > > Can we get this tested

Re: Outliner keyboard navigation fails on MacOS

2019-06-29 Thread Jason Sun
Let me check again. I have been working on another larger extension these days. On Sat, Jun 29, 2019 at 1:22 PM Stephan Witt wrote: > Am 25.06.2019 um 18:33 schrieb Richard Kimberly Heck : > > > > Can we get this tested on MacOS? > > I’ve tried to paste the snippet into the TocWidget.cpp … > I

Re: Outliner keyboard navigation fails on MacOS

2019-06-29 Thread Stephan Witt
Am 25.06.2019 um 18:33 schrieb Richard Kimberly Heck : > > Can we get this tested on MacOS? I’ve tried to paste the snippet into the TocWidget.cpp … I had to change the TocWidget.h too, then it compiles. But I cannot see the improvement in behavior. I’m on master. Stephan > > On 6/19/19 4:52

Re: Outliner keyboard navigation fails on MacOS

2019-06-25 Thread Richard Kimberly Heck
Can we get this tested on MacOS? On 6/19/19 4:52 PM, Jason Sun wrote: > This problem is resolved by inserting the  following code to the > TocWidget.cpp file > > voidTocWidget::keyPressEvent(QKeyEvent*event) > { > if(event->key()==Qt::Key_Return) > { > QModelIndexconst=tocTV->currentIndex(); >

Re: Outliner keyboard navigation fails on MacOS

2019-06-19 Thread Jason Sun
This problem is resolved by inserting the following code to the TocWidget.cpp file void TocWidget::keyPressEvent(QKeyEvent *event) { if(event->key() == Qt::Key_Return) { QModelIndex const & curIdx = tocTV->currentIndex(); goTo(curIdx); gui_view_.setFocus();

Outliner keyboard navigation fails on MacOS

2019-06-19 Thread Jason Sun
I use MacOX High Sierra 10.13.6 and LyX 2.3.2. The problem is the outline items(sections in the document) can only be selected by mouse click. However, the same LyX 2.3.2 on RollApp(cloud version of LyX) doesn’t not have this problem. After looking at the source code, I thought of two solutions