Skip to content
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

[Bug] Window transparency doesn't work without splash theming being on. #880

Open
3 tasks done
nikkoxd opened this issue Sep 28, 2024 · 0 comments
Open
3 tasks done
Labels
bug Something isn't working

Comments

@nikkoxd
Copy link

nikkoxd commented Sep 28, 2024

Discord Account

No response

Operating System

macOS Sequoia

Linux Only ~ Desktop Environment

No response

Package Type

dmg?

What happens when the bug or crash occurs?

Background transparency doesn't work without splash theming being on. If I turn it on transparency seems to work, but only if i set the color to transparent. If I set it to semi-transparent using something like color(srgb 0.054902 0.0313726 0.0470588 / 0.9) it doesn't work. Removing splashBackground in addition to enabling splashTheming seems to fix the issue.
Another thing I found is setting splashBackground to an rgba value with the alpha channel being a float makes Vesktop crash when splash window appears.

What is the expected behaviour?

Transparency working without splash theming being on and removing the splash background

How do you recreate this bug or crash?

  1. Set transparent to true in settings.json
  2. Launch Vesktop with a transparent theme
  3. Window is opaque

Debug Logs

> [email protected] start /Users/nikko/Vesktop
> pnpm build && electron .


> [email protected] build /Users/nikko/Vesktop
> tsx scripts/build/build.mts

Skip checkForUpdates because application is not packed and dev update config is not forced
checkForUpdatesAndNotify called, downloadPromise is null
[arRPC > ipc] listening at /var/folders/2z/y694tgvj34d4358n_t8cb9mc0000gn/T/discord-ipc-0
[arRPC > websocket] listening on 6463
2024-09-29 01:08:12.591 Electron[4326:11893770] +[IMKClient subclass]: chose IMKClient_Legacy
2024-09-29 01:08:12.591 Electron[4326:11893770] +[IMKInputSession subclass]: chose IMKInputSession_Legacy
[4419:0929/010815.662768:ERROR:ffmpeg_common.cc(965)] Unsupported pixel format: -1

Setting the value of background to rgba:

> [email protected] start /Users/nikko/Vesktop
> pnpm build && electron .


> [email protected] build /Users/nikko/Vesktop
> tsx scripts/build/build.mts

Skip checkForUpdates because application is not packed and dev update config is not forced
checkForUpdatesAndNotify called, downloadPromise is null
[arRPC > ipc] listening at /var/folders/2z/y694tgvj34d4358n_t8cb9mc0000gn/T/discord-ipc-0
[arRPC > websocket] listening on 6463
/Users/nikko/Vesktop/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron exited with signal SIGTRAP
 ELIFECYCLE  Command failed with exit code 1.

Request Agreement

  • I have searched the existing issues and found no similar issue
  • I am using the latest Vesktop and Vencord versions
  • This issue occurs on an official release (not just the AUR or Nix packages)
@nikkoxd nikkoxd added the bug Something isn't working label Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant