[konsole] [Bug 448744] SSHManager plugin often doesn't handle double-clicks on server names on macOS

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Tue Jan 18 23:06:05 GMT 2022


https://bugs.kde.org/show_bug.cgi?id=448744

--- Comment #3 from tcanabrava at kde.org ---
I don't see how this can be wrong, but let's see, on the file
src/plugins/SSHManager/sshmanagerpluginwidget.cpp I connect the treeview to
the connectRequested

connect(ui->treeView, &QTreeView::doubleClicked, this,
&SSHManagerTreeWidget::connectRequested);

The only way that this can go wrong is if Qt is not delivering correctly
the doubleClicked.

so we can try to rewrite this as:

connect(ui->treeView, &QTreeView::doubleClicked, this, [this] { qDebug() <<
"Bleh"; connectRequested()});

Because I'm connecting directly the doubleClicked to the connectRequested,
I don't see a way that this could fail.


On Tue, Jan 18, 2022 at 10:45 PM Kurt Hindenburg <bugzilla_noreply at kde.org>
wrote:
>
> https://bugs.kde.org/show_bug.cgi?id=448744
>
> --- Comment #2 from Kurt Hindenburg <kurt.hindenburg at gmail.com> ---
> (In reply to tcanabrava from comment #1)
> > Created attachment 145634 [details]
> > attachment-25469-0.html
> >
> > I don’t have a Mac to test, Kurt :(
> > The signal is connected.
> >
> > Le mar. 18 janv. 2022 à 22:38, Kurt Hindenburg <bugzilla_noreply at kde.org>
a
> > écrit :
> >
> > > https://bugs.kde.org/show_bug.cgi?id=448744
> > >
> > >             Bug ID: 448744
> > >            Summary: SSHManager plugin often doesn't handle
double-clicks
> > >                     on server names on macOS
> > >            Product: konsole
> > >            Version: master
> > >           Platform: Other
> > >                 OS: macOS
> > >             Status: REPORTED
> > >           Severity: normal
> > >           Priority: NOR
> > >          Component: general
> > >           Assignee: konsole-devel at kde.org
> > >           Reporter: kurt.hindenburg at gmail.com
> > >   Target Milestone: ---
> > >
> > > When double-clicking on server name in sshmanager plugin, it rarely
works
> > > under
> > > macOS.  I can't figure out how to get it to work constantly.  It seems
> > > like the
> > > connectRequested signal is not connected.
> > >
> > > I haven't had any issues on any other OS - freebsd works as expected.
>
>
> I put print statements in connectRequested() and they are not printed.
Do you
> have any suggestions on what I can look at?
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.

-- 
You are receiving this mail because:
You are watching all bug changes.



More information about the kde-mac mailing list