Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

The window title bar with buttons disappears and the application becomes blurry even at 100% scale. #1547

Open
5 tasks done
naregderlevonian opened this issue Jul 11, 2023 · 0 comments
Labels

Comments

@naregderlevonian
Copy link

naregderlevonian commented Jul 11, 2023

Homework

Nativefier command

nativefier http://any.site --name anyapp

Steps to reproduce

In Debian GNU/Linux 12 with GNOME + Wayland, the application appears blurry even at 100% scaling.
Below are the steps that fix the blurriness issue, but it introduces another problem where the window loses its title bar and borders.

Step 1: Create a basic project using the following command: nativefier http://mysite.com/ --name myapp
Step 2: Run the application with the following command-line arguments: ./myapp --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform=wayland

A similar issue was resolved in Chrome with a similar "patch".
It's possible that the issue lies with Electron or Wayland, but it would be helpful to highlight it.

Expected behavior

The application should render clear visuals without any blurriness when scaled to 100%.
Additionally, the application window should retain its title bar.

Actual behavior

Currently it appears blurry even at 100% scaling. Furthermore, applying the suggested steps to address the blurriness issue causes the application window to lose its title bar and borders.

Debug info

Debian GNU/Linux 12
NVIDIA GeForce RTX™ 2050 / Mesa Intel® Graphics (ADL GT2)
GNOME 43.4
Wayland
3840x2400 (without scale, and 200%).

Nativefier version

50.1.1

Node.js version

18.13.0

npm version

9.2.0

OS

Debian GNU/Linux 12

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant