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

Tomaz Canabrava tcanabrava at kde.org
Tue Jan 18 23:05:40 GMT 2022


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20220118/d5531737/attachment-0001.htm>


More information about the konsole-devel mailing list