RIDE icon indicating copy to clipboard operation
RIDE copied to clipboard

Display issues with hi-res screens - Interaction with RPA.Desktop.OperatingSystem Library

Open axiom41 opened this issue 2 years ago • 3 comments

Hello. With my hi-res screen (3840 x 2160), opening RIDE on some projects, everything seems normal (see "RIDEnormal.png", 2000 x 1126, in the linked zip), but clicking on any test case or custom keyword in the list to open it in grid mode, RIDE window suddenly reduces its size almost to the half with many UI elements "shrunk" to a very small (and nearly unreadable) size (see "RIDEshrunk.png", 1002 x 580, in the linked zip) Also spacing in the Settings area are reduced and elements are overlapping. This is not happening working in text mode only. Opening the test case or a keyword in text mode first and then reverting to grid re-creates the issue. It seems to happen when RIDE tries to validate/highlight the keywords.

I'm on Win 10 x64, RIDE 2.0rc1 running on Python 3.10.9. It does not seem related to such configuration, but to display size (i'm also using the display scale to 200%, which could also be involved since the RIDE window reduction is around 50%...) and RIDE UI components in grid mode.

Could it be also related to wxPython (i have 4.2.0)?

Could you please investigate and fix?

RIDE-UI.zip

axiom41 avatar Feb 03 '23 08:02 axiom41

Maybe i've found the culprit: in some of the .robot files (i've inherited them from someone else previously working on the project) there was a "Setting" pointing to Library "RPA.Desktop.OperatingSystem" (from the very common and widely used RPAFramework collection): after deleting or changing it to Robot Framework's standard "OperatingSystem", the issue vanished...

So issue on RIDE is always generated by that specific library: any chance to get it fixed?

axiom41 avatar Feb 03 '23 09:02 axiom41

This is strange. I was inclined to wxPython/wxWidgets problem.

I have other priorities, so this will take some time until I start looking into it.

HelioGuilherme66 avatar Feb 03 '23 09:02 HelioGuilherme66

Hi Helio. Not a big priority anyway: i can skip use of such library for now, but at least you can focus on the right component when you have time ;-)

axiom41 avatar Feb 03 '23 10:02 axiom41