KiTTY icon indicating copy to clipboard operation
KiTTY copied to clipboard

[RFE] Add tooltips to sessionnames in sessionlist

Open mjakob-gh opened this issue 5 years ago • 8 comments

I often use session names, which are longer than the width of the stored session "window". Showing the complete session name in a tooltip when the mouse hovers over the entry would be really helpfull.

I found this docs about tooltips in win32, but implementing it by myself, is beyond my C programming skills. https://docs.microsoft.com/en-us/windows/win32/controls/tooltip-controls

mjakob-gh avatar Mar 15 '20 09:03 mjakob-gh

Hi @mjakob-gh ,

This is similar to my request at #86 . Perhaps this idea of tooltips will be more easy to implement.

Thank you for the tip.

lars18th avatar Mar 15 '20 09:03 lars18th

Hi @cyd01 ,

Please can you explore this option? I have some "large" session names, and this will sove my problem described in #86 .

Thank you!

lars18th avatar Apr 09 '20 06:04 lars18th

Hi @cyd01 ,

With my large server names (including post-names with different proxy/bastion alternatives) I really need a solution. I suggested in the past three alternatives:

  1. More bigger horizontal size of the configuration window.
  2. Horizontal scrollbar for the stored sessions selection.
  3. Tooltips for the sessions names.

Please, comment about your preferable option. Thank you!

lars18th avatar Nov 23 '20 08:11 lars18th

It would be great if the configuration window could be resized (in any direction) so it would always be the size I want. 👍

Tooltips would be an acceptable work around, I think.

CWempe avatar Nov 23 '20 20:11 CWempe

Hi @CWempe ,

It would be great if the configuration window could be resized (in any direction) so it would always be the size I want.

Any of the three solutions are fine to me. However, regarding this one option, from the point of view of @cyd01 it's quite complex to implement. Mainly because the original window from PuTTY has fixed size. So for this reason I prefer if someone implements the horizontal scrollbar, as I feel it's the most simple solution.

Regards.

lars18th avatar Nov 24 '20 09:11 lars18th

Some has a something to propose to fix this important issue.
As CWempe said, everything in PuTTY config box is fixed size, so it would be complicated to add scrollbar.
And it seems that PuTTY does not use classic Windows control to build the configuration box, so that classic tooltip functions or horizontal scrollbar does not work on it. Don't forget they made something rather generic to work on linux too.
So currently I have no more idea, but I really think it's a useful feature.

cyd01 avatar Dec 04 '20 18:12 cyd01

Hi @cyd01 ,

Thank you for your effort! I see some code in the lasts commits that is targeting scrollbars and tooltips. And it seems that doesn't work. Don't worry, perhaps in the future someone can point to a solution. For me it's sufficient that you agree that this is a useful feature and requires to be targeted.

Regards.

lars18th avatar Dec 05 '20 11:12 lars18th

Hi @cyd01 ,

Any idea about how we can help you (label "help wanted") to implement this?

lars18th avatar Mar 02 '21 07:03 lars18th

Issue closed due to inactivity

cyd01 avatar May 23 '23 18:05 cyd01