Hyperlink Text not ...
 
Notifications
Clear all

[Solved] Hyperlink Text not displayed properly/cutoff

22 Posts
6 Users
2 Reactions
1,446 Views
(@ktamm0)
New Member Registered
Joined: 5 months ago
Posts: 3
 

@glenn 

 

Still getting the same cuttoff on 'Network Connections' with 3.15.2.  Also I noticed that blank/empty lines are showing up as <n/a> where previously they were just blank lines.  Not sure if that was intentional or a new bug introduced.  Double checked 3.15.0 as the <n/a> were NOT showing up there.

[options]

# size and position
auto-scale=0
monitor-mode=1
top=2175
right=15
width=675
font-size=15
font-face=Arial

# logging
log=desktopinfo.log
log-level=debugonerror

# misc
ignore-setting-change=1

#[screen-saver]
#font-size=16
#centerv=1
#centerh=1
#formcolor=501020

[text]
noresults=<n/a>
error=[error]
null-result=<null>
unknown=Unknown
executing=<executing>
menu-export=Export
menu-reload=Reload
menu-configuration=Edit Configuration
menu-log=Open Log File
menu-manual=Read Manual
menu-about=About Desktop Info
menu-quit=Quit

[items]

# colors
set White   = #ffffff
set Grey    = #909090
set Cyan    = #00ffff
set Magenta = #ff00ff
set Green   = #00ff00
set Orange  = #ffd000
set Yellow  = #ffff00
set Silver  = #d0d0d0
set Blue    = #0000f0
set Red     = #ff0000

set DarkGrey = #a0a0a0
set LightGrey = #cccccc
set Purple = #bb00bb

# battery status lookup table
set battery1      = Disconnected
set battery2      = Connected
set battery3      = Fully Charged
set battery<null> = Not In Use

# Check for resolution for proper sizing :(
#BEGIN-ONLOAD
#MONITOR=set:dpi,hidden:1,display:%7
#IF=value1:%dpi%,value2:96,comp:gt
#FONT-SIZE=15
#IF=value1:%dpi%,value2:96,comp:gt
#width=675
#END-ONLOAD
#COMMENT=text:DPI:  %dpi%


# global items
NAV=global:-1


# page 1 - date/time
PAGE=1
PAGE-TITLE=Home Page
COLOR=%DarkGrey%

COMMENT=color:%white%,style:bu,,text:Desktop Info (3.15.2)

USER=set:username,hidden:1
HOST=text:Host/User,display:%1/%username%
DATETIME=interval:10,display:%1[ddd]  %3[mmm] %2[1.0d]\, %4[yyyy]  %5[1.0a]:%6[2.0d]:%7[2.0d] %5[2.0p]
#DATETIME=interval:10,row-text:New York,display:%9 %10,offset:-240
WMI=interval:60,hide-no-result:1,id:battery,text:Battery,alarms:(%15 le 40 %red%),namespace:root\cimv2,query:Win32_Battery,display:%EstimatedChargeRemaining%% (%battery%BatteryStatus%%)
UPTIME=interval:60,display:%1 days %2 hrs %3 mins

# page 1 - cpu
CORETEMP=interval:2,hide-no-result:1,\
  chart:line max:100 series1:1 color1:%LightGrey% height:2, \
  alarms:(%1 ge 60 %yellow%)(%1 ge 80 %red%), display:%1%2 (%5)

CPU=interval:2,background-interval:10,\
  chart:line max:100 series1:1 color1:%green% series2:2 color2:%purple% series3:%3 color3:%red% height:2, \
  alarms:(%1 ge 80 %red%)(%2 ge 40 %red%)(%3 ge 20 %orange%),\
  display:Tot: %1[2.0f]%\, Krnl: %2[2.0f]%\, Queue: %3|Processes: %4\, Threads: %5

# page 1 - top processes
COMMENT=color:%LightGrey%,style:bu,text:Top Processes
TOPPROCESSCPU=interval:3,,text:Top Cpu,display:%1 (pid:%2) %3[1.1f]%
TOPPROCESSMEM=interval:10,,text:Top Memory,display:%1 (pid:%2) %3[1.1b]B
TOPPROCESSPF=interval:5,text:Page Faults,display:%1 (pid:%2) %3 faults

# page 1 - memory
COMMENT=color:%LightGrey%,style:bu,text:Memory
PHYSICALRAM=interval:2,background-interval:10,\
  chart:line max:100 series1:3 color1:%green% height:2,\
  alarms:(%3 ge 80 %red%),display:%1[3.1b]B / %2[3.1b]B (%3% used)

PAGEFAULTS=interval:5,,alarms:(%5 le 80 2222c0),hide-no-result:1,display:Tot: %1\, Hrd: %2\, Hit: %5%

# page 1 - network
COMMENT=color:%LightGrey%,style:bu,text:Network
NETWORKINTERFACES=interval:30,operstatus:1,iftype:6 71,friendlyfilter:-exc-switch,display:%2: %8 / %10
WMI=interval:2,background-interval:10,id:network, hide-no-result:1,\
  chart:line height:3 scale:log max:23 min:-23 series1:%1 color1:%green% series2:{{Neg(%2)}} color2:%purple%,\
  alarms:(%1 ge {{%CurrentBandwidth%/8*95/100}} 2222ee)(%2 ge {{%CurrentBandwidth%/8*95/100}} 0000ff),\
  row-text:Eth Traffic,\
  namespace:root\cimv2,query:Win32_PerfFormattedData_Tcpip_NetworkInterface where Name like "%Ethernet%" and CurrentBandwidth>0,display:R: %BytesReceivedPersec%[3.1b]Bps\, S: %BytesSentPersec%[3.1b]Bps\, B: {{%CurrentBandwidth%}}[1.0B]Bps
  
# WMI=interval:2,background-interval:10,id:network, hide-no-result:1,\
#   chart:line height:3 scale:log max:23 min:-23 series1:%1 color1:%green% series2:{{Neg(%2)}} height:2 color2:%purple%,\
#   alarms:(%1 ge {{%CurrentBandwidth%/8*95/100}} 2222ee)(%2 ge {{%CurrentBandwidth%/8*95/100}} 0000ff),\
#   row-text:Wi-Fi Traffic,\
#   namespace:root\cimv2,query:Win32_PerfFormattedData_Tcpip_NetworkInterface where Name like "%Wi-Fi%" and CurrentBandwidth>0,display:R: %BytesReceivedPersec%[3.1b]Bps\, S: %BytesSentPersec%[3.1b]Bps\, B: {{%CurrentBandwidth%}}[1.0B]Bps

WMI=interval:300,background-interval:60,id:latency,,alarms:(%11 ge 50 0088f0),text:Network Latency, namespace:root\cimv2,query:Win32_PingStatus where address='google.ca',display:%ResponseTime%ms (google.ca)
WMI=interval:300,background-interval:60,id:latency,,alarms:(%11 ge 50 0088f0),text:Network Latency, namespace:root\cimv2,query:Win32_PingStatus where address='google.com',display:%ResponseTime%ms (google.com)
HTTPGET=interval:600,text:External ipv4,source: removed link 
COMMENT=font-size:50%,text:
CONTROL=type:1,font-size:80%,color:%LightGrey%,text:,display:Network Connections,uri:%SystemRoot%\System32\control.exe,args:ncpa.cpl


# page 1 - disks
COMMENT=color:%LightGrey%,style:bu,text:Fixed Disks
LOGICALDRIVES=interval:5,diskio:1,,\
  chart:bar max:100 series1:7 threshold:75,\
  alarms:(%11 ge 10000000 0000f0)(%13 ge 10000000 0000f0)(%7 ge 90 0070f0),\
  row-text:Drive %1: (%2)| %3,display:%6[1.0B]B / %5[1.0B]B (%7[1.1f]% used)|%chart%| r: %11[1.1B]B/s\, w: %13[1.1B]B/s\, q: %17\, i: %19%| avg read: {{%15*1000}}[1.2f]ms\, write: {{%16*1000}}[1.2f]ms

# page 1 - ubuntu16 (Jevi) / SyNas1  Space
#COMMENT=text:
fileCONTENTS=color:%Red%,interval:90,font-face:Courier New,style:b,file:Y:\0-synas1\scripts\space\warn_of_old.txt,wide:1
fileCONTENTS=interval:90,font-face:Courier New,style:b,file:Y:\0-synas1\scripts\space\ubuntu16-info.txt,wide:1
#COMMENT=font-size:50%,text:
COMMENT=text:
fileCONTENTS=interval:90,font-face:Courier New,style:b,file:Y:\0-synas1\scripts\space\SyNas1-info.txt,wide:1
COMMENT=text:
This post was modified 4 months ago by ktamm0

   
ReplyQuote
Glenn
(@glenn)
Member Admin
Joined: 6 years ago
Posts: 1369
 

@ktamm0 That config works perfectly for me.  Remove the 'text' option from the COMMENTs.


   
ReplyQuote
 ALoh
(@aloh)
New Member Registered
Joined: 7 months ago
Posts: 3
 

@Glenn
I did not know about the MONITOR item.. well noted now BUT I am so happy to say that v3.15.2 is working flawlessly!!!  I'm so very pleased, thank you so much!


   
Glenn reacted
ReplyQuote
(@thinker)
Active Member Registered
Joined: 7 months ago
Posts: 9
Topic starter  

Hello, sorry it's been a while.  It seems that this is working better so far in 3.15.2 for the HYPERLINKs whenever the scaling changes.

 

Interestingly, the CONTROL  button that I was testing as an alternative does not work well with scaling changes.  The button start growing by itself and taking up part of the screen.

CONTROL=display:Open IT Request,uri: https://servicenow.com/
CONTROL=display:Phone IT Support,uri:sip:servicedesk@servicenow.com

I'm fine with the hyperlink working now, but maybe in the future a cleaner CONTROL button would nicer.  See attached photos of 100%scaling screen and changing to 150% scaling

 

I heard that DTI in 3.15.2 is not recovering after sleep and hibernation so I'll be restricting this revision to my IT test group.

 

Also, I noticed that when you press the show desktop button in Windows 11 (hidden button in the lower right corner of the taskbar) this also minimizes desktop info. Though it seems to come back right away after clicking on any open application.


   
ReplyQuote
(@thinker)
Active Member Registered
Joined: 7 months ago
Posts: 9
Topic starter  

And here is the after photo 150% scaling as the active main screen


   
ReplyQuote
(@thinker)
Active Member Registered
Joined: 7 months ago
Posts: 9
Topic starter  

Odd, we've been testing the Hyperlinks in the new version, and more consistently this displays correctly, but there's the odd once in a while it doesn't display well.  This morning it occurred to me while the dock drivers reloaded update on  start up.  When undocking and redocking, this displayed the hyperlinks incorrectly on laptop screen or external monitors

I could share my config if it possible something else is conflicting with this


   
ReplyQuote
(@marts4)
Active Member Registered
Joined: 3 months ago
Posts: 8
 

Same issue here on 3.15.2 - I thought it was just me!

Seems when on 150% with "auto-scale:1", the hyperlink text is enlarged (bigger than the other text) and ends up spanning beyond the view.

I also have a button issue, whereby the text is preceded by a phantom space.

Some displays (or possibly docks) have also experienced near continuous reloads when "display-change=1" is used. I've particularly notice this on a Dell dock and display combination.

As a temporary workaround, i've turned auto-scale off, and used some MONITOR values and IF results to make it work (this also produces the phantom space - attached). As button and hyperlink are mostly the same I understand, I would image this works for either.

# get monitor size and set button texts
MONITOR=onload:1,no-wait:2,set:MP={{%7+%4}},hidden:1
set=key:ButtonText,value:Raise Request Online
set=key:HintText,value:Take Me There

# if sum of PPI + pixels width is less than 2064 (standard monitor)
IF=value1:%MP%,value2:2064,comp:lt
BUTTON=font-size:10,height:23,hover-color:%Blue%,style:u,align:c,display:%ButtonText%,hint:%HintText%,uri: removed link 

# if sum of PPI + pixels width is equal to 2064 (laptops)
IF=value1:%MP%,value2:2064,comp:eq
BUTTON=font-size:10,width:245,height:28,hover-color:%Blue%,style:u,align:c,display:%ButtonText%,hint:%HintText%,uri: removed link 

# if sum of PPI + pixels width is greater than 2064 (wide monitors)
IF=value1:%MP%,value2:2064,comp:gt
BUTTON=font-size:10,height:23,hover-color:%Blue%,style:u,align:c,display:%ButtonText%,hint:%HintText%,uri: removed link 

 


   
ReplyQuote
Page 2 / 2
Glenn's Page