Opened 6 months ago

Last modified 6 months ago

#1253 new Bug / Defect

Tray ToolTip does not display complete IP in Windows GUI

Reported by: John Navas Owned by: selvanair
Priority: minor Milestone:
Component: Windows GUI Version: OpenVPN 2.4.7 (Community Ed)
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords: ToolTip, Windows, GUI
Cc:

Description

Version: openvpn-install-2.4.8-I602-Win7
OS Name Microsoft Windows 8.1 Pro
Version 6.3.9600 Build 9600
System Type x64-based PC
Adapter Description Intel(R) HD Graphics 630
Driver Version 21.20.16.4678
Resolution 2560 x 1440 x 60 hertz
Bits/Pixel? 32

When connecting to one and only one AirVPN Profile,
OpenVPN GUI displays the full IPv4 in the connection balloon,
but does not display the final octet in the ToolTip?,
as shown in the attached screen capture video.
All other installed profiles display correctly.
In addition to the video, the attached ZIP archive
includes the profile, log, etc.

Attachments (4)

AirVPN_US-Fremont-California_Aquila_UDP-443.ovpn (9.0 KB) - added by John Navas 6 months ago.
Profile configuration
AirVPN_US-Fremont-California_Aquila_UDP-443.log (6.1 KB) - added by John Navas 6 months ago.
Log
Capture.PNG (57.1 KB) - added by John Navas 6 months ago.
Screen scaling
ScreenGrab.png (221.2 KB) - added by John Navas 6 months ago.
Shows the bug

Download all attachments as: .zip

Change History (8)

comment:1 Changed 6 months ago by John Navas

https://i.imgur.com/LItpT4j.png

Changed 6 months ago by John Navas

Profile configuration

Changed 6 months ago by John Navas

Log

Changed 6 months ago by John Navas

Attachment: Capture.PNG added

Screen scaling

Changed 6 months ago by John Navas

Attachment: ScreenGrab.png added

Shows the bug

comment:2 Changed 6 months ago by John Navas

Screen Capture VIDEO: https://youtu.be/lWc65ZRvbno

comment:3 in reply to:  description Changed 6 months ago by selvanair

Replying to John Navas:

When connecting to one and only one AirVPN Profile,
OpenVPN GUI displays the full IPv4 in the connection balloon,
but does not display the final octet in the ToolTip?,
as shown in the attached screen capture video.

The max size of the notification tooltip buffer in Windows is 128 characters including the NUL termination. When the profile name is long[*], it doesn't leave enough space for the IP. I think that's what you are seeing.

Ideally we could detect this and truncate the profile name instead of the IP, but as of now, its the total message that is truncated. Could be improved. Until then open the status window and check the IP displayed at the bottom. Unlike the tooltip that also works when multiple connections are active.

[*] about 32 characters depending on the locale. It gets tighter for v6 address.

comment:4 Changed 6 months ago by John Navas

@selvanair
Thank you for the fast response, and for the suggestion.
My concern is for my clients, many of whom aren't expert.
It's how the issue came to my attention in the first place.
I do think it would make sense to abbreviate
so as to ensure the full IP address is displayed.
In the meantime I'm renaming profiles with long names.
Thanks again.

Note: See TracTickets for help on using tickets.