lunapaint / vscode-luna-paint

A raster image editor extension for VS Code
https://marketplace.visualstudio.com/items?itemName=Tyriar.luna-paint
279 stars 25 forks source link

Defaut obtrusive dark backgroud #134

Closed Xen192 closed 2 years ago

Xen192 commented 2 years ago

Issue Type: Bug

just opening an image open with a dark background that obstructs image view image

Extension version: 0.13.2 VS Code version: Code 1.64.2 (f80445acd5a3dadef24aa209168452a3d97cc326, 2022-02-09T22:02:29.527Z) OS version: Linux x64 5.4.0-100-generic Restricted Mode: No Remote OS version: Linux x64 4.15.0-54-generic

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i3-6006U CPU @ 2.00GHz (4 x 2000)| |GPU Status|2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
rasterization: disabled_software
skia_renderer: enabled_on
video_decode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|4, 4, 4| |Memory (System)|11.35GB (0.61GB free)| |Process Argv|--unity-launch --crash-reporter-id a3f9efc0-e3e7-40c8-aad7-61223153f16f| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|cinnamon| |XDG_CURRENT_DESKTOP|X-Cinnamon| |XDG_SESSION_DESKTOP|cinnamon| |XDG_SESSION_TYPE|x11|
Tyriar commented 2 years ago

That's weird, the background is meant to be there but it's only meant to be on the outside of the image, covering up the checked pattern. Does this fix itself if you resize the window?

Xen192 commented 2 years ago

no it doesn't. moreover when i move or change the zoom of the image, the black background crops the view of the actual image as seen in the above screenshot. the bottom part of the image is blocked there.

Tyriar commented 2 years ago

If you open dev tools via the help menu do any errors show up in the console?

Xen192 commented 2 years ago

no there isn't any error regarding the extension

Tyriar commented 2 years ago

Since I haven't seen this anywhere else my guess is graphics driver issues on Linux as I have to deal with similar things in VS Code's terminal. Fortunately the terminal has a fallback CPU-based renderer you can always switch to but not with Luna Paint as I felt that kind of defeated a big part of why the extension was good and didn't want to waste time on a slow renderer.

Xen192 commented 2 years ago

i'm on intel integrated graphics so is it related to integrated graphics or issues based on graphics drivers, if it is driver issues then what may be the recommended one?

Tyriar commented 2 years ago

I'm not sure, but the fact it only happens on Linux is a pretty sure clue that it's a graphics problem, whether that be in Chromium/Electron or OS/drivers.

Tyriar commented 2 years ago

Closing off as I suspect it's webgl issues in the OS or Chromium and beyond my ability to fix