Hyperlink Size and ...
 
Notifications
Clear all

We had a major storm through here recently and we suffered damage to the house roof and ceilings. I just received the quote to repair. I’m hoping that a small fraction of the 80,000 odd people that download SDIO and/or Desktop Info every month won’t mind chipping in a few dollars to help out. Click on the big blue button at the bottom of the page to help us keep a roof over our heads, literally!

Guests have read-only access to our forums. If you wish to participate you will need to register. Be sure to activate your account from the email sent to you when you register.

Hyperlink Size and Flickering

9 Posts
2 Users
1 Reactions
1,228 Views
(@marts4)
Eminent Member Registered
Joined: 1 year ago
Posts: 32
Topic starter  

Hi Glen,

Positive feedback here with the latest 3.20.2 release! 😀 

Though one annoying monitor-change issue continues...
All scenarios I've tested worked well, except for one exact change (I mentioned it some time ago):
Where DTI is first launched on a larger 32" monitor via USB-C, and unplugged. Upon reverting to the 14" laptop, Hyperlinks don't scale down correctly and we see a continuous flickering. In fairness, it's like 99% there - just width it isn't getting (text and height seem ok). I can't add an exact width, as that sends other monitor sizes into issues. 
On the flip side, launching from 14" laptop and plugging into the 32" USB-C, no issues. With the default 1800ms, it gets the upscale change, sometime reloads twice to get there.

Anyway, not a huge issue, just one for the next opportunity to iron out. 

Thanks!


   
Glenn reacted
Quote
Glenn
(@glenn)
Member Admin
Joined: 7 years ago
Posts: 1734
 

reloading twice seems to imply there are still windows messages coming in. try extending the display-change-defer-time option...


   
ReplyQuote
(@marts4)
Eminent Member Registered
Joined: 1 year ago
Posts: 32
Topic starter  

Morning Glen,

No luck, it's like something is hanging around in the background from the resolution of the monitor where it was first launched. 

I should have also mentioned, I have two hyperlinks - one is completely fine! Though there's little difference:

BUTTON=xr:5,yb:125,hyperlink:1,button-color:%Green%,align:r,style:b,font-size:13,color:%white%,display:Raise Request Online,hint:Open Online Request Form,uri: https://linktosomeurl.com/requests/new

BUTTON=xr:5,yb:77,hyperlink:1,button-color:%Green%,align:r,font-size:11,color:%white%,display:+44 7123456789,hint:Call Service Desk,uri:CallTo:+447123456789

Top hyperlink rescales without issue.

Bottom Hyperlink splits to two rows (in the space of one), so it chops off text bottom and top. If I remove the space from the display, it sticks with one row, chopping off about half a character at the beginning and end. Additionally, if I add text-pos:middleright, it cuts only the leading "+" off - also tried switching "+44" for "0"71..etc, but then still cuts the "0" off. 

Thanks!


   
ReplyQuote
Glenn
(@glenn)
Member Admin
Joined: 7 years ago
Posts: 1734
 

Posted by: @marts4

Where DTI is first launched on a larger 32" monitor via USB-C, and unplugged. Upon reverting to the 14" laptop, Hyperlinks don't scale down correctly and we see a continuous flickering. In fairness, it's like 99% there - just width it isn't getting (text and height seem ok). I can't add an exact width, as that sends other monitor sizes into issues. 

In my testing I noticed if I set font-size:10 it measures the width correctly, if I set font-size:12 it measures the width correctly, if I set font-size:11 it fails to measure the width correctly.

It also seems to depend on the font used. Some fonts give more accurate width measurement at certain sizes than others.


   
ReplyQuote
(@marts4)
Eminent Member Registered
Joined: 1 year ago
Posts: 32
Topic starter  

Morning Glenn,

Interesting find, will there be a way to resolve for font-size:11 ?
Hesitant to change from 11, as it was determined to best size across multiple display sizes (when it scales up/down). 

If it helps, we're using Verdana - which I think came from a DTI sample config..
Happy to give it a try with some other fonts, like Aptos, Arial, Calibri etc - if you think one works better? 

Thanks 


   
ReplyQuote
Glenn
(@glenn)
Member Admin
Joined: 7 years ago
Posts: 1734
 

It's not just font-size:11, the bug shows up at other font sizes as well. The exact size changes according to the font.  I haven't found a pattern yet other than it seems to show up less often in fixed width fonts. The only thing I can suggest at this point is to experiment with different fonts and sizes until you get something approximating what you want.  Eg, Consolas looks ok at font-size:11.

Here's another interesting thing: It measures accurately at 100% zoom, fails at 125% zoom and accurately at 150% zoom.


   
ReplyQuote
(@marts4)
Eminent Member Registered
Joined: 1 year ago
Posts: 32
Topic starter  

Morning Glenn,

That would make sense, as all our 14" laptops default to 125% scale.

The one puzzling thing for me, is that the font-size:11 displays perfectly well when DTI initiates from the laptop at 125% scale. It's only where a larger monitor is primary with DTI initiated on it, then disconnected and DIT scales down to the laptop. I should point out, the comments that are also the same font and size, do indeed correctly scale down in this scenario. It's like DTI is holding onto some initial launch parameters/ not correctly reloading on monitor disconnect, perhaps that's unique to the hyperlinks, perhaps not. It does seem to be a niche with hyperlinks at font-size:11, when scaling down.

Additionally, as mentioned, if DTI first launched on the 14" laptop at 125% scale, the hyperlink shows correctly. However, if then connected to a larger display and moved, it scales up successfully. On disconnect during the same session (where first launched on laptop), upon a disconnect, it correctly scales upon fallback to the laptop. This does somewhat further back the thoughts around initial launch parameters being held or not correctly reloaded perhaps?

Thanks 


   
ReplyQuote
(@marts4)
Eminent Member Registered
Joined: 1 year ago
Posts: 32
Topic starter  

Morning Glenn,

Just a note to add;

I've tested 3.20.3, but found the scaling rather unpredictable on display changes. 3.20.2 had reacted considerably better to display changes, nearly perfect bar the one bug mentioned above. 

Thanks


   
ReplyQuote
Glenn
(@glenn)
Member Admin
Joined: 7 years ago
Posts: 1734
 

Posted by: @marts4

Morning Glenn,

Just a note to add;

I've tested 3.20.3, but found the scaling rather unpredictable on display changes. 3.20.2 had reacted considerably better to display changes, nearly perfect bar the one bug mentioned above. 

Thanks

Interesting that it behaves better for me and worse for you...

 


   
ReplyQuote
Glenn's Page