incorrect window size in 4k resolution


Author
Message
Igor
Igor
Gaining Respect (107 reputation)Gaining Respect (107 reputation)Gaining Respect (107 reputation)Gaining Respect (107 reputation)Gaining Respect (107 reputation)Gaining Respect (107 reputation)Gaining Respect (107 reputation)Gaining Respect (107 reputation)Gaining Respect (107 reputation)
Group: Forum Members
Posts: 10, Visits: 16
incorrect window size when launched in 4k resolution and don't remember the new position of the window
Replies
LogViewPlus Support
LogViewPlus Support
Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)
Group: Moderators
Posts: 1.3K, Visits: 4.5K
We have updated the latest version (v2.6) of LogViewPlus to include a new command line option.  You can now start LogViewPlus from the command line with:

logviewplus.exe -DisableScaling

This will disable DPI scaling in LogViewPlus and leave the scaling to Windows.  Windows default scaling ensures controls are adequately sized, but may result in slightly blurry text.  Note that command line arguments can also be specified by modifying Windows shortcuts.

For now, the two options of running LogViewPlus without scaling or turning off "Fix scaling" in Windows are the only two workarounds we are going to be able to provide for running LogViewPlus in RDP at high DPI.  Neither of these solutions are ideal.  I have made a note to investigate this issue further in a future release.

Hope that helps.  Thanks again for reporting this issue,

Toby
Edited 4 Years Ago by LogViewPlus Support
Memnarch1113
Memnarch1113
Junior Member (62 reputation)Junior Member (62 reputation)Junior Member (62 reputation)Junior Member (62 reputation)Junior Member (62 reputation)Junior Member (62 reputation)Junior Member (62 reputation)Junior Member (62 reputation)Junior Member (62 reputation)
Group: Forum Members
Posts: 6, Visits: 32
Hi Toby,
I've got another bug to toss on your todo list. I will try out the logviewplus.exe -DisableScaling Setting, but I wanted to show off a similar-ish bug. I have a 2k display, and my coworker has a 4k display, and we've occasionally noticed logs that are inconsistently scaled. Some lines seem to have the correct scaling modifier turned on, some don't. For me it's fine because I have a 27inch screen, and so I have loads of real estate. But my coworker has a 17inch 4k screen and so the text (even at 16pt font) is mostly tiny in the logs themselves. The rest of the UI is fine. (This screenshot is from her screen) (sorry I had to blur it a bit to protect user privacy, but hopefully you can see some lines are different sizes from others)

I'm attaching the screenshot and dxdiag logs if you can use them.  Again, we'll try out the disable scaling setting and see if it helps, but to me this was a pretty clear signal there's a bug where certain log line entries are being treated differently from others. Hopefully that makes tracking down the issue easier!

Attachments
fzgyGt2OVT.png (471 views, 1.00 MB)
DxDiag.txt (874 views, 128.00 KB)
LogViewPlus Support
LogViewPlus Support
Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)
Group: Moderators
Posts: 1.3K, Visits: 4.5K
HI Memnarch,

Thanks for reporting this issue.  That is a very strange bug indeed.  Are these log lines permanently scaled incorrectly?  What happens if you scroll or refresh the log file?  I have seen behavior somewhat similar to this if the screen scaling is changed and the application is not restarted.

There is a known issue in 2.6 with drawing multiple highlights in the grid which will be fixed in the next release.  I can see that the log line selected has multiple highlights.  This could be contributing the the problem as well.  (For performance, grid lines with multiple highlights are drawn completely differently from grid lines with a single highlight).

I will take a look at the sample log file and see if I can recreate.

Thanks again,

Toby
Memnarch1113
Memnarch1113
Junior Member (62 reputation)Junior Member (62 reputation)Junior Member (62 reputation)Junior Member (62 reputation)Junior Member (62 reputation)Junior Member (62 reputation)Junior Member (62 reputation)Junior Member (62 reputation)Junior Member (62 reputation)
Group: Forum Members
Posts: 6, Visits: 32
Hi,
Got it. I am not certain if I had highlights in here but I think you might be right. I did not include a sample log because it's from a user's machine, so I can't share for privacy reasons, sorry. But interesting to know that we might see a fix in the next release anyway, thanks!

LogViewPlus Support
LogViewPlus Support
Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)Supreme Being (12K reputation)
Group: Moderators
Posts: 1.3K, Visits: 4.5K
In this case, I mean the words highlighted in yellow rather than the 'highlights' feature.  From the screenshot you provided, I can see two words highlighted on the selected line in the log entry display on the bottom of the screenshot.  Neither of these words are highlighted in the grid.

I have contacted the third-party grid developer about the highlight issue.  They have provided a new method for drawing these rows which has already been implemented in the next release.  Hopefully, this change will also resolve the DPI issue.

I will post back here when we have a BETA release available which is currently about 4 - 6 weeks away.

The issue with highlights is a regression.  You can try installing a previous version to see if that helps.  Unfortunately, I am not 100% sure when the issue was introduced, but I suspect the previous version (2.5.51) will be fine.

Hope that helps,

Toby
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Igor - 5 Years Ago
LogViewPlus Support - 5 Years Ago
Igor - 5 Years Ago
LogViewPlus Support - 5 Years Ago
LogViewPlus Support - 5 Years Ago
                         Hi Toby, I use Windows 10 (build 19043.1348)
Igor - 5 Years Ago
                             Thanks Igor. I believe I was able to recreate the issue in Windows...
LogViewPlus Support - 5 Years Ago
                                 Hi Toby,v2.5.42 is fixed, thanks!
Igor - 5 Years Ago
                                     Glad to hear it Igor - thanks for letting me know!
LogViewPlus Support - 5 Years Ago
symphara - 4 Years Ago
LogViewPlus Support - 4 Years Ago
symphara - 4 Years Ago
LogViewPlus Support - 4 Years Ago
                         We have updated the latest version (v2.6)of LogViewPlus to include...
LogViewPlus Support - 4 Years Ago
                             Hi Toby, I've got another bug to toss on your todo list. I will try...
Memnarch1113 - 4 Years Ago
                                 HIMemnarch, Thanks for reporting this issue. That is a very strange...
LogViewPlus Support - 4 Years Ago
                                     Hi, Got it. I am not certain if I had highlights in here but I think...
Memnarch1113 - 4 Years Ago
                                         In this case, I mean the words highlighted in yellow rather than the...
LogViewPlus Support - 4 Years Ago
symphara - 4 Years Ago
LogViewPlus Support - 4 Years Ago
symphara - 4 Years Ago
LogViewPlus Support - 4 Years Ago
                         I have two monitors, one 5120x2880 (5k) and one 3840x2160 (4k), both...
symphara - 4 Years Ago
                             I have tried to recreate at 200% scaling and the application looks...
LogViewPlus Support - 4 Years Ago
                                 I am running Windows 11. Hardware accelerated rendering is of course...
symphara - 4 Years Ago
                                     Thanks for the update Symphara - that's really helpful. We have not...
LogViewPlus Support - 4 Years Ago
                                         Hi Symphara, Just a quick update to let you know that the 2.6.2 BETA...
LogViewPlus Support - 4 Years Ago

Similar Topics

Login

Explore
Messages
Mentions
Search