-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Low fidelity rendering on Linux compared to running app #383
Comments
AvaloniaRider/src/rider/main/kotlin/me/fornever/avaloniarider/idea/editor/PreviewImageView.kt Line 141 in b6fe85b
This is the place we extract the DPI for the image to draw. I wonder if something's incorrect there on Linux. Can you try debugging that? |
Is there a way to attach a debugger to my existing Rider instance with the published version of the plugin? Or is the best way to clone this repo, build it, and debug it using the IntelliJ IDEA Plugin Dev kit? I only vaguely understand how this is all working under the covers... I had attempted to attach the IntelliJ debugger to my Rider process, but that just froze up Rider despite the debugger (apparently) running. I'm having trouble finding documentation on how to debug already running plugin instances. Most docs just point to running the sandboxed IDE via the plugin devkit experience. |
While there is, source level debugging is unlikely to work well in this configuration, and it is very clunky. I wouldn't recommend this approach. It is much more straightforward to debug the |
Hello,
Scaling and rendering when developing on Linux does not match what I see when I actually run my Avalonia app. This makes it challenging to get styling just right as I'm often zooming in to 150-300% just so that I can see the finer detail in the fonts and icons.
I've included screenshots and all information that I thought might be relevant.
Please let me know what information would be helpful for investigation. I'm happy to help in any way I can.
Thanks for taking a look!
Design time preview (100% scale) / Running app
Design time preview (150% scale) / Running app
tl;dr:
Kubuntu 24.04 (KDE on X11), 4K resolution @ 125% system scaling. AMD Radeon 7900XT GPU
Details:
Plugin previewer method: AvaloniaRemote
OS: Kubuntu 24.04
Graphics Platform: X11
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Display resolution: 3840x2160
Display scale: 125%
Rider's info:
GlxInfo:
The text was updated successfully, but these errors were encountered: