Code Monkey home page Code Monkey logo

Comments (22)

dzhou121 avatar dzhou121 commented on May 17, 2024

Hi, can you share a screenshot of the issue?

I thought macOS always scale at 2.0 for HiDPI.

from lapce.

jansol avatar jansol commented on May 17, 2024

image

image

from lapce.

dzhou121 avatar dzhou121 commented on May 17, 2024

Thanks for the screenshot.

Maybe can you let me know your OS version and which hardware?

from lapce.

hkjels avatar hkjels commented on May 17, 2024

display_err

The same happens for me

from lapce.

jansol avatar jansol commented on May 17, 2024

macOS Big Sur 11.6.1
Intel HD Graphics 530 / Radeon Pro 460
(it's a MacBook Pro 2016, 15-inch model)

Lapce seems to be using the Intel integrated GPU here.

from lapce.

DanielBelmes avatar DanielBelmes commented on May 17, 2024

Have this issue as well:
macOS Big Sur 11.6
AMD Radeon Pro 5300M 4 GB
2.6 GHz 6-Core Intel Core i7
MacBook Pro (16-inch, 2019)

from lapce.

dzhou121 avatar dzhou121 commented on May 17, 2024

Can you also let me know the display settings?

from lapce.

jansol avatar jansol commented on May 17, 2024

2880x1800 Retina, and alacritty (which uses winit) reports a device pixel ratio of 2.0

from lapce.

PaulPorthouse avatar PaulPorthouse commented on May 17, 2024

Similar/same issue on Windows where different monitors have different scaling applied

100% scaling
image

125% scaling
image

from lapce.

bjorn3 avatar bjorn3 commented on May 17, 2024

I got the same issue as OP, but only when compiling lapce in debug mode. In release mode it is fine.

from lapce.

virtualritz avatar virtualritz commented on May 17, 2024

Same issue with 0.0.2 on macOS 10.15.7.

from lapce.

bruno-anjos avatar bruno-anjos commented on May 17, 2024

Same behaviour as OP. Intel MacBook Pro 16" with macOS 12.0.1 installed from .dmg

from lapce.

Yevgnen avatar Yevgnen commented on May 17, 2024

Same issue.

                    'c.          [email protected] 
                 ,xNMM.          ------------------- 
               .OMMMMo           OS: macOS 12.1 21C52 x86_64 
               OMMM0,            Host: MacBookPro15,1 
     .;loddo:' loolloddol;.      Kernel: 21.2.0 
   cKMMMMMMMMMMNWMMMMMMMMMM0:    Uptime: 23 hours, 26 mins 
 .KMMMMMMMMMMMMMMMMMMMMMMMWd.    Packages: 283 (brew) 
 XMMMMMMMMMMMMMMMMMMMMMMMX.      Shell: bash 5.1.12 
;MMMMMMMMMMMMMMMMMMMMMMMM:       Resolution: 1920x1200@2x 
:MMMMMMMMMMMMMMMMMMMMMMMM:       DE: Aqua 
.MMMMMMMMMMMMMMMMMMMMMMMMX.      WM: Quartz Compositor 
 kMMMMMMMMMMMMMMMMMMMMMMMMWd.    WM Theme: Blue (Light) 
 .XMMMMMMMMMMMMMMMMMMMMMMMMMMk   Terminal: kitty 
  .XMMMMMMMMMMMMMMMMMMMMMMMMK.   CPU: Intel i7-9750H (12) @ 2.60GHz 
    kMMMMMMMMMMMMMMMMMMMMMMd     GPU: Intel UHD Graphics 630, Radeon Pro 560X 
     ;KMMMMMMMWXXWMMMMMMMk.      Memory: 16793MiB / 32768MiB 
       .cooc,.    .,coo:.

from lapce.

maks avatar maks commented on May 17, 2024

I actually seem to get something simliar with scaling turned on in Ubuntu 21.10 (using wayland).
This is what it looks like with scaling at 100%:
image

and this the very same running instances window dragged over to a second monitor with scaling enabled (at 200%):
image

lapse debug build of main branch at 9373703

from lapce.

dzhou121 avatar dzhou121 commented on May 17, 2024

Should be fixed by the latest release. https://github.com/lapce/lapce/releases/tag/v0.0.3

from lapce.

PaulPorthouse avatar PaulPorthouse commented on May 17, 2024

Yeah,, fixes the problem for me with Windows.

Many thanks

from lapce.

maks avatar maks commented on May 17, 2024

Thank you for working on this so quickly! On Linux I can now see the expected UI but unfortunately this doesn't yet fix the issue on Linux wayland for scaled displays or resizing on a non scaled display.

Here is what it looks like (correct) on a 100% scaled display:
Screenshot from 2021-12-16 12-17-16

But as soon as I try to resize the window I get:
Screenshot from 2021-12-16 12-17-46

And when I move the window over onto a scaled monitor display (at 200%) I get:
Screenshot from 2021-12-16 12-18-35

This is all with Ubuntu 21.20 Gnome (wayland) and happens with using both "standard" scaling and the experimental fractional scaling.

from lapce.

dzhou121 avatar dzhou121 commented on May 17, 2024

@maks which commit is it running on?

from lapce.

maks avatar maks commented on May 17, 2024

its:

>git log --oneline
a61d3b2 Updte piet-wgpu

from lapce.

osa1 avatar osa1 commented on May 17, 2024

I'm trying lapce 176fbd8 (current master branch) on Linux with Xorg. With "XFCE settings -> appearance -> settings -> window scaling" set to 2x, lapce GUI is rendered very small.

Changing the setting after running lapce also doesn't make any difference. It seems like the setting is ignored.

from lapce.

LyesSaadi avatar LyesSaadi commented on May 17, 2024

On latest release, this is what I have on GNOME 42/Wayland:
image

My screen is 2880/1800 at 200% zoom.

from lapce.

LyesSaadi avatar LyesSaadi commented on May 17, 2024

Ah, it actually works on master! My bad!

from lapce.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.