#πŸ–₯-vesktop-development

1 messages Β· Page 15 of 1

azure verge
#

throwing the overlay in the trash

vernal lintel
#

i still didnt get used to the new notification style

#

they changed so much in new gnome

azure verge
#

wacky

#

gnome user angelIAvomit

gentle hatch
#

what do you think of tiling wm ​​​​​​​​​​​​​​​​​​​​​​​​​

azure verge
#

eh not for me

gentle hatch
#

fair

vernal lintel
azure verge
#

:c

simple groveBOT
#

Perhaps...it's possible to detect when the situation is happening somehow and do two rapid Change Windows automatically? It would be hacky, but I would rather have a quick flicker than my friends tell me, "yeah, it stopped working again" every 20m. I would be surprised if this isn't a common issue people are hitting.

this. seemingly just starts an infinite loading loop after a time, sometimes its once every few minutes, and other times it runs for like an hour before i see it, but i have...

vernal lintel
#

it might be that the flatpak prefers running in wayland

#

maybe we should revert that

#

there's a reason it's still opt-in

#

it's still unstable

#

many bugs

#

and random shit

simple groveBOT
azure verge
#

most of the slowness i had was because of windows 11 wtf

#

i just switched to win10 IoT LTSC

#

it is a dream

#

runs amazingly

vernal lintel
#

i think it's beta

#

oh it is

azure verge
#

woah

vernal lintel
#

3 days ago

azure verge
junior elm
#

Wait it's out?

azure verge
#

yeppers

upper pine
#

isn't the index fully supported on linux??

#

also, why not dual boot :3?

#

maybe this is worth a shot

#
#

seems to be supported

#

and apparently steamvr beta is a must, stable seems to be fucked

quick crane
#

would be kinda useful

vernal lintel
#

yes, if there aren't any major issues

#

you can build from source to get it early

simple groveBOT
quick crane
#

This is the best discord client πŸ‘

vernal lintel
#

it's really easy to build from source

quick crane
#

I use the flatpak and prefer to wait, is not like I'm always streaming anyway

vernal lintel
#

alright

hybrid fjord
# simple grove

Strange thing only that Chromium team asked me to test it in chromium M-127 beta
And electron 31 uses 126 chromium and it seems to be fixed Β―_(ツ)_/Β―

vernal lintel
#

they usually backport fixes

#

oh wait if we update electron in vesktop we will have ugly devtools

verbal yarrow
#

What's going on with pr #261? Would love to see this feature merged but it's just been sat there for two months

vernal lintel
red thorn
azure verge
upper pine
#
azure verge
#

eh too late now 02shrug

upper pine
#

never too late to choose a sane os

azure verge
#

no literally like
my arch setup takes like 3 days to do

#

I don't care that much

#

plus win 10 iot ltsc doesn't have most of the shit that makes me dislike windows

upper pine
#

my arch setup takes like 3 days to do
still worth more than w10 o.O

vernal lintel
#

ugly as hell

upper pine
#

holy fuck

#

why is it so ugly lmaooo

#

bro who did that hahahha

vernal lintel
#

its so distracting

upper pine
#

why would someone do that

#

thats insanely shit

vernal lintel
#

Go to chrome://settings/manageProfile and choose a theme color you want.

red thorn
#

It makes everything so much harder to read. They did it a while back, too, but I thought they came to their senses

vernal lintel
#

how do i fix this again

#

It's a bug, and it's fixed in Chrome 125 canary release.

#

its still an issue even in latest electron alpha

#

looks great in light theme tho lol

gentle hatch
#

ow

#

why white though

vernal lintel
#

i dont have the shit theme in normal chrome

compact frigate
#

who thought that would be a good idea

red thorn
#

Apparently, it is a bug, but they claim to have fixed it

vernal lintel
#

oh my god

#

oh god it gets even worse

#

somehow theme is broken

#

when u restart it goes to light even if u have dark selected

upper pine
#

lmfao

vernal lintel
hybrid fjord
#

ahhahahahaha

upper pine
#

hahahhahaa

#

Gotta use light theme then

#

Get used to it

hybrid fjord
#

just get welding mask lmao

simple groveBOT
hybrid fjord
#

yaaay!!

upper pine
#

does discord somehow auto collapse channels?

#

or am I tripping balls

jovial grove
#

? wdym collapse

upper pine
#

topics

#

auto collapse topics

#

not channels

vernal lintel
#

u probably missclicked

#

xD

#

FINALLY

#

THANK YOU GNOME

#

before it would only show the monitor names

upper pine
#

Vertical Screen

vernal lintel
#

yea

upper pine
#

How's that

vernal lintel
upper pine
#

Been considering doing it as well

vernal lintel
#

did u think about windows

#

like we dont want that visible on windows xd

#

we should restructure this code xD

#

like into multiple files

upper pine
#

it should only be in the linux picker stuff

upper pine
#

but I dont want to do that in my pr if thats ok lmao

vernal lintel
#

this is kinda bad

upper pine
#

bruh

#

well

#

I mean you can also make it scrollable without our patches

vernal lintel
#

lmao athat is awful

upper pine
vernal lintel
#

honestly some of the code is a bit messy but idc much as long as it works

#

it needs rewrite anyway

#

we can do it later

upper pine
#

lets go

vernal lintel
#

thanks for the work noah!!

upper pine
#

np :D

vernal lintel
#

cant wait for venmic v14 next week

upper pine
#

hahahaha

vernal lintel
#

youve been pumping out so many versions

simple groveBOT
upper pine
upper pine
simple groveBOT
upper pine
simple groveBOT
vernal lintel
#

now you can't bundle anymore....

upper pine
#

time to go native module

#

but I need more info before I start

#

should I only tweak the game-utils or do a similar replacement like openasar did? Could also do a mix of both actually

vernal lintel
#

the minimum work that is necessary to make it work

#

if we just need to replace game-utils that'd be best

upper pine
#

alr, will do that then

#

it should be really straight forward

#

I can start next week, still have some exams and hand-ins I need to get done first ^^

simple groveBOT
vernal lintel
#

is this normal or regression

#

why no icon

upper pine
#

you can't easily extract the icon on linux

vernal lintel
#

thats not how it works

upper pine
#

is it serverside?

vernal lintel
#

i think its just broken

#

oh nvm

#

its a discord issue

#

it shows fine on my phone

simple groveBOT
vernal lintel
#

the horror

compact frigate
#

?

upper pine
simple groveBOT
vernal lintel
#

interesting

#

but it doesnt even have anything for just listing games

#

are u sure this is all that's needed

hybrid fjord
#

omg what is this theme xd

vernal lintel
#

game utils seems more like the game library

#
t.default = {
    server: r.default,
    commands: T,
    events: A,
    stores: [a.default],
    transports: [g.default],
    registerTransportsForEmbeddedPlatform: function() {
        s.default.ensureModule("discord_rpc").then(()=>{
            for (let e of [n("178318").default, n("967351").default])
                r.default.registerTransport(e)
        }
        )
    }
}
#

HELLO:3

hybrid fjord
#

i was wondering why stock discord not work for me at all

vernal lintel
#

honestly i cant find where discord quries games lol

upper pine
#

I'll figure it out :D

vernal lintel
#

im fairly certain this is what game_utils is for

#

discord_utils seems the most promising

#

wine64-preloader

#

oh thats for observing specific games

#

oh its this

#

@upper pine

upper pine
#

Oh nice

vernal lintel
#

but there's a lot of desktop checks

#

idk how easy it will be to do this

upper pine
#

Can't we just patch those out

vernal lintel
#

yes but it will become a lot

upper pine
#

Maybe we can patch the whole module

vernal lintel
#

note how it dispatches flux events tho

#

maybe we can just dispatch the events

compact frigate
#

patch isDesktop clueless (dont)

upper pine
#

I'll write a replacement then and also allow to call them manually

#

Then we could just manually dispatch

vernal lintel
#

yeah but there's more to it

#

there are a bunch of functions involved

vernal lintel
#

it seems like this is used like

discordUtils.setCandidateGamesCallback(candidates => {
  const games = candidates.filter(...);
  discordUtils.setObservedGamesCallback(games, idk => {
    ...
  })
})
#

not entirely sure

#

idk how to reverse engineer .node binaries

#

maybe need to use something like ghidra or ida

#

but yeah we will likely have to reimplement some or all of discord_utils, then patch

  • the place it is imported (thankfully it's central and reused)
  • out all the desktop checks in the relevant logic
#

it won't be very robust

next sundial
#

@upper pine does your PR make the user selection for stream quality, FPS and audio input be remembered for the next screen-sharing session?

GitHub

Bump Venmic
Granular Selection
Allow to select multiple audio sources
Additional Exclusion Options
Redesign Screen-Share Picker
New "Ignore Virtual" Setting
Add missing venmic setti...

upper pine
next sundial
#

vee, until a proper implementation of remembering the user selection for stream quality and FPS, could we have the default as 1440p 60 FPS?

I would submit a PR for it, but I have one to improve the README currently open and I have made my changes against the master branch, so I can't create a clean branch until that PR is accepted or declined

vernal lintel
#

no

next sundial
#

hm

#

the idea is that by having 1440p 60 FPS as the default the cap would be Chromium's max. bitrate/server-side Discord code

#

I actually don't know if there's any difference from using 1080p or 1440p for non-Nitro users

vernal lintel
#

please think for a second

#

majority of users has 1080p monitor

#

majority of users doesn't have nitro

#

majority of users doesn't have super fast internet

next sundial
#

well, by this logic we would make the default 720p :v

vernal lintel
#

majority of users has a medium or low spec pc that won't perform well on 1440p

vernal lintel
#

maybe we should

next sundial
#

ye

vernal lintel
#

original client defaults to 720p 30fps

next sundial
#

I don't think 60 FPS hurts that much, but I don't know if it actually works because it's a Nitro feature; not sure how Discord actually implements it

#

if it's a client-side check like the NSFW channel age check then it's bypassable

next sundial
upper pine
next sundial
#

well I think we currently do it? πŸ€”

#

web screenshare fixes plugin (removes chromium bitrate cap) + being able to select anything above 720p 30 FPS even when not Nitro

#

btw I noticed this notice of deprecation on the "upgrade to electron 31" commit

vernal lintel
#

irrelevant

teal summit
#

and over wifi it would hurt

next sundial
#

I'm on the 720p-30fps team now

teal summit
#

a default setting just shouldn’t be smth that lags or causes issues - if their net supports it (in which case users would know) they can higher it manually

azure verge
#

the issue is just that discord didn't remove a Bitrate cap that made it impossible to even stream a stable 720p30

#

that cap is removed by the plugin

#

non nitro users (as far as I know) are capped by discord's servers to 4622kbps

#

nitro users are capped at 8000kbps

teal summit
#

I mean I don’t think it’s possible to do but the best would be if Vesktop could somehow know which the highest setting is that your network/pc supports

next sundial
#

IMO we can make the default 720p 30 FPS then, since it's the default and the max. allowed for non-Nitro users

still not sure how FakeNitro and even current screen selection method on Vesktop allow users to pick 1080/1440p 60 FPS

teal summit
#

prob just lower bitrate

#

as servers only appear to lock that

next sundial
#

hmm

teal summit
#

wouldn’t surprise me if you could stream 8K which an awful bitrate

next sundial
#

720p 30 FPS is what I think most would agree as a stable experience that would satisfy the majority of users

teal summit
#

yup

#

I had friends stream with 1440p/60 but their net was awful so the bitrate just tanks so low that you can’t even see anything (besides it not even being stable 60)

next sundial
#

I'm not sure how much 60 FPS actually weighs on a stream with the same base quality (let's assume 720p)

teal summit
#

I mean doing basic math 30 * 2 = 60; meaning twice as many pictures meaning twice as many bits

next sundial
#

stonks

#

makes sense

teal summit
#
  • 720p 30fps: 1500-4000 Kbps
  • 720p 60fps: 2500-5000 Kbps
  • 1080p 60fps: 4500-9000 Kbps
  • 1440p 60fps: 6000-13000 Kbps
    (do not take these as actual numbers, only use to compare between)
golden cypress
hybrid fjord
next sundial
#

vee, could you commit then to change the default to 720p 30 FPS?

azure verge
#

one day of this shit

#

im already annoyed

#

i have had more than one driver crash

#

and the fucking index keeps trying to be a monitor

#

how do people use this os lmao

#

and

#

all of my issues had solutions 😭

#

this is why i backed up my home folder

compact frigate
azure verge
#

LITERALLY I HAVENT EVEN BEEN HOME ALL DAY

#

I HAVE HAD MULTIPLE FULL SYSTEM CRASHES

#

HOW

simple groveBOT
#

Some notes:

  • When first run the colour picker option isn't available - only shows up after re-toggling the tray icon.
  • Re-toggling the tray icon while in a vc results in the tray icon being the default vesktop icon until an interaction occurs. ex: mute/deafen or voice input.
  • Light mode themes make it impossible to see the mute/deafened icons. After some googling i found [@media (prefers-color-scheme: light) {} ](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-s...
humble mortar
vernal lintel
#

honestly there are a bunch of very similar prs that all add customisation for different icons

#

it'd be better to combine and unify them

#

i might do that and supersede all the split prs

azure verge
#

just make a thingy so people can upload their own gif

vernal lintel
#

also i think all those prs just store the specified path

#

bad idea

#

users will choose files then delete or move them

#

it needs to copy the file into vencord cache dir xd

humble mortar
simple groveBOT
#

@PavelDobCZ23

Maybe Electron needs to update the way they handle this.

Oh most definitely. Libunity hasn't had an update in years. In fact https://github.com/electron/electron/issues/30085 is open for that exact reason.

A dirty fix for vesktop while that's handled upstream would be to emit the dbus signal itself. Try gdbus emit --session --object-path / --signal com.canonical.Unity.LauncherEntry.Update "application://vesktop.desktop" "{'count': <int64 3>, 'count-visible': <true>}"...

humble mortar
vernal lintel
#

yeah lol

simple groveBOT
#

I'm also having the drag and drop issue on the newest flatpak (1.5.2), running KDE wayland. After I drag a file into the app, everything works properly until I send the message, in which the app instantly stops responding to any mouse input, but the keyboard works fine. I assume this is due to it running in xwayland, but I am not sure.

I can also replicate this issue. It works well when using the '+' button in the message box but drag and drop breaks the application. Need to restart the ...

#

Discord Account

spookicazt

Operating System

Fedora 40 - KDE

Linux Only ~ Desktop Environment

KDE Plasma 6 wayland

What happens when the bug or crash occurs?

When Vesktop is opened, it defaults to the main monitor instead of the last monitor it was maximized on. Additionally, if Vesktop is resized, it snaps to an incorrect location and size. The state.json file does not seem to be applied correctly on Vesktop's launch, and its data does not appear to be accurate.

Stat...

vernal lintel
#

discord employee

red thorn
hybrid fjord
#

@humble mortar sorry for ping but i can't reproduce this:

When first run the colour picker option isn't available - only shows up after re-toggling the tray icon.
are u sure that you tested on latest commit? Bc in first launch file i added this:
Settings.store.tray = true; and this must set tray setting to true by default and color picker must be showed too

next sundial
#

is it intentional for Vesktop to close with CTRL+W? I know it's a web page (Chromium), but I treat Vesktop as an app and it seems a little weird for it to behave like an actual web page (even if it technically is)

#

CTRL+Q and ALT+F4 make sense, but CTRL+W seems a bit off, at least for me

vernal lintel
#

lol

#

its default electron

simple groveBOT
#

Discord Account

aquamarine.gay

Operating System

Arch Linux x86_64 (all packages are fully updated)

Linux Only ~ Desktop Environment

Sway on Wayland

What happens when the bug or crash occurs?

When launching the program, either through the official AppImage or the AUR package (vesktop_electron), the program launches with a completely gray window. However, it's not a GPU issue because you can still open the Dev Tools console (with the exception of saving the console logs, ...

hybrid fjord
#

just like it😭

next sundial
#

I was going to comment the following on my issue

After discussion on Vencord's Discord server, I and other members of the community have come to the conclusion that 720p 30 FPS would better accomodate the majority of users, instead of the current 1080p 60 FPS and the suggested 1440p 60 FPS.

Therefore, I have changed the title of this issue.

I cannot make a PR for it right now due to having a open PR to improve the README file and it targets the master branch, so any PR I would possibly make would not be in a "clean" state.

but suddenly I can't anymore due to the reason in the attached image, so I am repassing it here

upper pine
next sundial
next sundial
#

gracias

next sundial
#

also

#

IIRC, official Discord app doesn't let the user choose neither 480p nor 15 FPS anymore

#

minimum is 720p 30 FPS

vocal adder
#

can still select 15fps

#

but 480p is only available through here as far as i can tell

next sundial
#

thx for the info

humble mortar
humble mortar
simple groveBOT
#

Discord Account

No response

Operating System

Kubuntu 24.04

Linux Only ~ Desktop Environment

KDE on Wayland

What happens when the bug or crash occurs?

Cannot run program. Crashes upon start

What is the expected behaviour?

I expect it to open however it does not run

How do you recreate this bug or crash?

  1. Run AppImage
  2. It Crashes

Debug Logs

base) cartagena@kidrock:~/Desktop$ ./Vesktop-1.5.2.AppImage
[360575:0617/193832.256074:FATAL:setuid_sa...
simple groveBOT
simple groveBOT
#

I personally don't think storing the splash animations in the config is a good idea, since those files have the potential to be huge. Storing a base64'd GIF that's several MB in size (and also syncing that to the cloud) will be fairly detrimental to performance. The other suggestion of copying it into the cache directory is probably better.

image

humble mortar
#

what the hell is wrong with github's md/html parser

simple groveBOT
#

About accent color, do you mean like the text selection color that comes from the system theme that gets applied on the browser (let's say, Firefox) to also apply for Vesktop (instead of it using dark blue text selection color due to Chromium's default)? Not sure where accent color would change much on Discord with the exception of text selection. I think Vesktop mantainers would prefer to stick with Discord official colors somehow.

Also, FYI, there's custom icon themes that support the va...

brave tendon
# simple grove

thanks for all the info in this, I'll see if I have time to work on it this week :)

#

what would be the best location for the user-set icons? just straight in the ~/.config/vesktop/sessionData dir?

simple groveBOT
hybrid fjord
# humble mortar not first first launch but the first time I opened vesktop after building with t...

i understood
looks like you never before toggled tray setting and because of it settings.tray is false even if tray is enabled by default
honestly i do not think that i should write some additional code for fixing this because on first first launch it will work good
also i fixed icon after toggling setting in voice chat and added support for manually setting fill color ^^
now i'm going to add ability for user to pick custom images

#

where should i copy user-set icons?
and how to get config folder for windows?

simple groveBOT
simple groveBOT
brave tendon
simple groveBOT
simple groveBOT
viral oyster
hybrid fjord
simple groveBOT
humble mortar
hybrid fjord
#

ohh very strange then

#

bc its just as in code xd
settings.tray = true -> render color picker
settings.tray = false -> do not render

#

probably i need to mention somewhere for updated users just to toggle setting

simple groveBOT
#

I dont think a toggle would be needed for relying on system provided or user provided tray icons as the system theme would just override the icons, no?

Not sure. I think that by design Vesktop would prioritize its own icons and only search for system-provided icons if explicitly specified to do so (which a setting could do).

hybrid fjord
#

Milfcord

humble mortar
#

what's happening with #517? will it become the main PR for #667 with all the other features added to it? will it be refactored to allow easy future additions to the tray and splash systems? or will the work on it be left as a reference for an overall unified implementation of #667 like vee wanted

simple groveBOT
#

What's going on with Linux accent support mentioned in #667. Electron doesnt have the protocol implemented in systemPreferences.getAccentColor() which means vesktop would have to poll the value on Linux via dbus - AFAIK there are multiple libraries for this already if needed.

If polling the dbus is implemented it should be implemented as a system thats easily modular if communicating with the dbus for other things is needed; ie: Linux unread badges.

Reusability and integration like ...

hybrid fjord
simple groveBOT
#

Discord Account

kekkodance

Motivation

The current state of affairs is that Vesktop (or vencord too) is unusable even with all updates applied.

Solution

A Safe Mode that doesn't inject any code that could crash Discord (including Vencord).

Alternatives

None

Additional context

No response

Request Agreement

  • [X] I have searched the existing issues and found no similar issue
  • [X] This is not a plugin request
  • [X] This is not a Vencord feature request
hybrid fjord
simple groveBOT
upper pine
vernal lintel
simple groveBOT
#

Discord Account

SquigglyBag8939

Operating System

Windows 10

Linux Only ~ Desktop Environment

No response

What happens when the bug or crash occurs?

My discord crashes whenever i open my dms or servers

What is the expected behaviour?

I expect vesktop to open my dms instead of crashing

How do you recreate this bug or crash?

  1. Open vesktop
  2. Open your DMS
  3. Crash :(

Debug Logs

i dont know how to

Request Agreement

  • [X] I have sear...
simple groveBOT
#

I am getting a similar bug:

It starts with:
'loop->recurse > 0' failed at ../pipewire/src/pipewire/thread-loop.c:426 pw_thread_loop_wait() on the Screenshare dialog

and ends up with

stdout:

(node:4830) UnhandledPromiseRejectionWarning: TypeError: Video was requested, but no video stream was provided
    at AsyncFunction.<anonymous> (VCDMain:24:2433)
(node:4830) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of...
humble mortar
#

how did vesktop fix this icon issue with wayland electron

simple groveBOT
simple groveBOT
simple groveBOT
simple groveBOT
#

Discord Account

No response

Operating System

Arch Linux x86_64 with Linux 6.9.5-arch1-1 kernel

Linux Only ~ Desktop Environment

Hyprland on wayland

What happens when the bug or crash occurs?

screen sharing doesn't start at all

What is the expected behaviour?

I expected screen sharing to start and work properly

How do you recreate this bug or crash?

  1. Start a call
  2. Click on "Share Your Screen" button
  3. Choose a monitor in "Screen" tab in MainPicker wi...
hybrid fjord
#

which UI component can i use for displaying image and on hover display pencil icon and on click change image?

hybrid fjord
#

omfg i'm so bad at tsxhusk

#

for now i'll just let for users to manually replace icons in config folder

#

i hope that later i'll figure out how i can in modal display icons from file and let user replace

brave tendon
#

TrayIconPicker.tsx and settings.css

hybrid fjord
#

ooooh looks good!

#

thanks^^

#

why ui part is hardest ahahahha

brave tendon
#

Yeah I spent a long time making the world's most cursed css

#

You need help on your PR?

hybrid fjord
#

i dunno, as long as i have reference i'll probably figure it out

#

but thanks ^^

brave tendon
#

Pocket voice message oops

hybrid fjord
brave tendon
#

Sweet

hybrid fjord
#

combining all this PRs is so fucked up
i'll maybe refactor it somehow and create IPC call like "convert to png" from .svg path

brave tendon
#

Seems weird that electron can't make a nativeimage out of two very common icon formats

hybrid fjord
#

for not only my usage

hybrid fjord
# brave tendon Sounds like a good idea

i think we must somehow merge our prs
i can create setting like "Custom tray settings" which will open modal where user can pick custom tray icons for VC
And then i can give to you write access to my repo or you can just PR to my repo and add just customization for main tray icon
or maybe you have better ideas how we can do it?

brave tendon
#

I'll just PR into your repo

#

Won't be able to work on it until late today though

hybrid fjord
#

i need time for creating modal anyway xd

#

i only feel bad for copypasting css classes and etc

vernal lintel
#

i might just write this feature

#

it's a bit complex due to ipc and has some security implications

hybrid fjord
#

bc i believe that in 517 i have all needed except UI

#

now it's working like this
from main to renderer CREATE_TRAY_ICON_REQUEST with iconPath. Renderer captures it, changes colors in .svg, creates canvas, creates dataURL of this changed .svg. Then it uses createIconResponse with fileName param ("muted", "deafened" and so on) and dataURL and sends to main via CREATE_TRAY_ICON_RESPONSE
then main just creates png file to DATA_DIR/TrayIcons/fileName.png from dataURL

brave tendon
#

Changing tray icon should also immediately apply instead of only on a restart which I think that flow will do

hybrid fjord
#

on color change there is another IPC call GENERATE_TRAY_ICONS which creates new .pngs and automatically reapplies new icons

teal summit
#

q question, where does vesktop store settings (if using flatpak)

vernal lintel
#

~/.config/vesktop

#

~/.var/app/dev.vencord.Vesktop/config/vesktop

teal summit
#

thanks

#

also, is it just a me problem that vesktop doesn't start anymore if I set a custom vencord directory? I assume it has smth to do with flatpak but I am not sure

#

because my vesktop will not start after a system reboot unless I remove the vencordDir

simple groveBOT
#

Discord Account

the_zphr

Operating System

Windows 11

Linux Only ~ Desktop Environment

No response

What happens when the bug or crash occurs?

It happens when launching Vesktop, doesnt do anything besides showing "Loading Vesktop"

What is the expected behaviour?

Expect to normally launch

How do you recreate this bug or crash?

Install Vesktop (Installer)
Launch Vesktop
Shows "Loading Vesktop"
End

Install Vesktop (Portable)
Launch Vesktop
Shows "Loadin...

teal summit
simple groveBOT
vernal lintel
#

you need to give vesktop access to the vencord folder

#

use flatseal

teal summit
#

πŸ‘

#

got it, thanks

simple groveBOT
#

Discord Account

No response

Operating System

Arch Linux

Linux Only ~ Desktop Environment

Sway

What happens when the bug or crash occurs?

Launching the application passes the "Loading Vesktop" foxgirl (:3), and then stays on a blank window.

Dev tools' console reports the following:

Uncaught TypeError: Cannot read properties of undefined (reading 'can')
    at Object.isHiddenChannel (index.tsx:485:33)
    at Object.resolveGuildChannels (index.tsx:501:61)
 ...
#

Discord Account

Unable to Access

Operating System

Windows 10

Linux Only ~ Desktop Environment

No response

What happens when the bug or crash occurs?

When Discord pushed its update, I windowed Vesktop. This caused the application to disappear and not return. Even after Updating and Reinstalling, it did not get fixed. While it doesn't show, it updates the icon with pings.

What is the expected behaviour?

I expect Vesktop to open properly. Instead, it refuses to sho...

hybrid fjord
#

Wtf why so many activity on last hour

simple groveBOT
vernal lintel
#

need to just remove transparency again

simple groveBOT
vernal lintel
#

what 😭

simple groveBOT
simple groveBOT
simple groveBOT
#

Same issue for me, i got this on my linux terminal (running kubuntu)

ξ‚Άhappyenderman ξ‚° ~/ο€™  ξ‚°ξ‚° ξ‰–  v21.0.3   v21.7.1 ξ‚°ξ‚° β™₯ 22:10 ξ‚° vesktop 
(node:56612) UnhandledPromiseRejectionWarning: Error [ERR_REQUIRE_ESM]: require() of ES Module /home/happyenderman/.config/vesktop/vencordDist/vencordDesktopMain.js from /opt/Vesktop/resources/app.asar/dist/js/main.js not supported.
vencordDesktopMain.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "...
#

Discord Account

No response

Motivation

The option "Reset Vesktop" should not be present so easily to users. As I see it, someone may mistakenly click this option. In my opinion, it should be only possible through a terminal.

For example: vesktop --reset.

Solution

Described above.

Alternatives

No alternatives.

Additional context

No response

Request Agreement

  • [X] I have searched the existing issues and found no similar issue
  • [X] This is not a plug...
#

Discord Account

dizziee

Operating System

Windows 11 23H2

Linux Only ~ Desktop Environment

No response

What happens when the bug or crash occurs?

Every single time I try to share my capture card.
image
image

What is the expected behaviour?

I expected Vencord to be able to share ...

simple groveBOT
#

yep EndeavourOS after updating get error

[3:0620/004346.030868:ERROR:shared_x_display.cc(39)] Unable to open display
'loop->recurse > 0' failed at ../src/pipewire/thread-loop.c:426 pw_thread_loop_wait()
[2024-06-20 00:43:49.242] [venmic] [info] [patchbay] (get) running venmic 3.4.2
[2024-06-20 00:43:49.394] [venmic] [info] [patchbay] (handle) found default metadata: 40
[2024-06-20 00:43:49.394] [venmic] [info] [patchbay] (meta_update) speaker name: "alsa_output.pci-0000_0c_00.4.ie...
#

Discord Account

badkiko

Operating System

Arch Linux

Linux Only ~ Desktop Environment

GNOME

What happens when the bug or crash occurs?

When i try start screensharing get error in console, and screenshare not starting

What is the expected behaviour?

Start screenshare

How do you recreate this bug or crash?

Just start screenshare

Debug Logs

[3:0620/004346.030868:ERROR:shared_x_display.cc(39)] Unable to open display
'loop->recurse > 0' failed at ../sr...
viral oyster
#
{
     "target": "default",
     "arch": [
-         "x64",
-         "arm64"
+         "universal"
     ]
 }
vernal lintel
#

how big does the binary get

viral oyster
#

building rn

#

failedTask=build stackTrace=Error: Command failed: codesign --verify --deep --strict --verbose=2 /Users/splt/projects/Vesktop/dist/mac-universal/Vesktop.app
/Users/splt/projects/Vesktop/dist/mac-universal/Vesktop.app: nested code is modified or invalid

#

horror

#

probably a beta skill issue nvm

viral oyster
# vernal lintel how big does the binary get
| type               | universal | arm64    | x64      |
| ------------------ | --------- | -------- | -------- |
| Application (.app) | 432.5 MB  | 242.4 MB | 252.5 MB |
| Disk Image (.dmg)  | 178.6 MB  | 96.8 MB  | 104.3 MB |
| Archive (.zip)     | 172.5 MB  | 93.1 MB  | 100.6 MB |
upper pine
#

that is only for macos right?

viral oyster
#

yes

upper pine
#

Sounds reasonable

#

I mean ~400MB for a universal binary and no need for users to check what kind of system they're on sounds fair to me

vernal lintel
#

guh double size

viral oyster
#

yeah cause it includes both binaries

brave tendon
#

Is there a reason we have the vesktop tray turned off on MacOS? when I was testing custom tray icons, the icon worked correctly on macOS after enabling it

#

The only difference is that macOS is pretty strict about requiring a 16x16 icon to look good

manic sphinx
#

Why does Vesktop store everything in .config? Is this intentional? I think it'd make sense if some stuff was saved in .local/share, like Vencord itself.

vernal lintel
#

like what

manic sphinx
#

Vencord itself duhhh

vernal lintel
#

why

#

if anything it would be ~/.local/state

manic sphinx
#

wait really

#

why?

vernal lintel
#

anyway why does it even matter

manic sphinx
#

organization i guess

#

i just think it's kinda dumb to have stuff in .config that isn't config

vernal lintel
#

have u ever looked at ~/.config/chromium

manic sphinx
#

never installing chrome/ium ill explod

vernal lintel
#

firefox is even worse it puts it in ~/.mozilla

manic sphinx
#

i mean

#

why follow others bad practices

#

thought I guess it actually doesn't matter much

vernal lintel
#

its easier

simple groveBOT
#

Discord Account

No response

Operating System

Arch Linux

Linux Only ~ Desktop Environment

i3

What happens when the bug or crash occurs?

I press share screen, select the screen and select go live. Go live not going live, nothing happens. Tried all resolutions and fps settings to no avail. Worked fine a couple days ago, dead now. Tried running with --unhandled-rejections=strict flags, didn't work either.

What is the expected behaviour?

I expect to go live after pre...

next sundial
#

I think we should add something like the Clown checkbox that someone talked about here

#

will probably save time for many issues

#

I also remember seeing in another repository a checkbox with something like "I confirm that I did not read the issue template and that I am lying in my answers", and it was the only box that was not mandatory to be checked, and a lot of people checked it

#

collaborators would then quote the marked checkbox in a new comment and close the issue as invalid

simple groveBOT
simple groveBOT
#

Discord Account

rozbrajaczpoziomow

Operating System

Debian sid/unstable

Linux Only ~ Desktop Environment

i3wm/lightdm on X11

What happens when the bug or crash occurs?

The crash happens after selecting any one of these screenshare sources, up to that point everything is fine.
image
seems like it loads for a split second then crashes.

Here's a video, in case that helps in any...

gentle hatch
#

hope I didn't forget anything

hybrid fjord
#

pnpm i

simple groveBOT
gentle hatch
# hybrid fjord Update venmic

okay yeah that worked sowwy :3 ​​​​​​​​​​​​​​​​​​​​​​​​​

hybrid fjord
#

@upper pine is there any way to venmic add checks for newer version?)

hybrid fjord
#

yep

upper pine
#

I can simply query the latest tag on startup and compare the semver

hybrid fjord
#

I had same issue and i was trying everything except updating venmic for long time xd

gentle hatch
#

also whilst I'm here, is this supposed not to automatically close and weirdly change height when selecting?

hybrid fjord
#

so maybe some message that venmic is outdated would be useful
but i'm not sure how to do it properly for builded releases of vesktop

upper pine
#

Yes you can select multiple

upper pine
gentle hatch
#

only lets me select 1 and there's no indication for that either way

hybrid fjord
upper pine
gentle hatch
upper pine
hybrid fjord
#

yeah message like this makes sense

gentle hatch
#

oki das all my questions answered, thanks yall ​​​​​​​​​

hybrid fjord
#

can i somehow inspect vesktop modal and edit css in real time?😭
nvm, found out

simple groveBOT
#

issue on linux in general, or at the very least arch and not just steamOS

I'm also running arch, as are multiple people I know and I know of no one that's experiencing a similar issue.

Maybe this issue is related to the specific microphone / microphone drivers used? It may be helpful to provide output of pw-dump, that could give us a lot of insights into the device used, as well as the audio settings used for it.

brave tendon
hybrid fjord
#

I don't have electricity rn so can't say surely

humble mortar
#

holy shit

#

gnome finally merged accent colours

#

🀯

simple groveBOT
teal summit
simple groveBOT
#

Discord Account

monttukani

Operating System

Fedora 40

Linux Only ~ Desktop Environment

KDE on Wayland

What happens when the bug or crash occurs?

Screenshare doesn't share the screen. After clicking on Go live, the sharing dialog closes and nothing happens. I think that some OS package update has broken the feature as it did work fine until last week. As Fedora updates packages daily and I don't stream nearly as often, I sadly can't tell witch update it was.

However I...

humble mortar
simple groveBOT
brave tendon
#

gnome being behind the times as usual

simple groveBOT
upper pine
humble mortar
hybrid fjord
#

okay, but what should i use

#

i'm cooking

vernal lintel
#

just use a dropdown lmao

upper pine
#

or were you not refering to the colors xd

hybrid fjord
#

for custom icons color not be applied

#

but i don't know best way to add dropdown for this
something like "Choose tray icon to edit"? and dropdown and show only one switch and icon chooser

humble mortar
hybrid fjord
humble mortar
#

click the icon ?

hybrid fjord
#

no no i mean setting custom color like green red and so on

humble mortar
#

put it in a box so its obviously clivkable

#

ohh

#

just a colour picker yeah?

#

or did u want it like per icon

hybrid fjord
#

for now if using stock icons it just replaces hardcoded color from .svg to user-specified in color picker

humble mortar
#

ohhh youre talking about recoloring the user provided icons

#

you shouldn't right

hybrid fjord
#

yes
there is/would be ability for user to pick custom .png for any icon so he can edit it in some apps and just use any color user wants

humble mortar
#

yeah

#

I'm confused what's your question then

hybrid fjord
#

V just said to use dropdown
and i did not understand how exactly in UI

humble mortar
#

instead of a popup its a drop down

#

like that menu

hybrid fjord
#

can i in drop down use custom elements or it's just one text line?

#

it can be like multipick for stream settings

vernal lintel
#

hmm dont do dropdown then yeah

hybrid fjord
#

xdd

#

only my wish is to move switches to left somehow

#

but i'm not sure its possible

#

without editing discord component

marsh hinge
#

couldnt you do icon and text on the left

#

and switch on the right

hybrid fjord
#

hmm actually i can

marsh hinge
#

imo that would look better

hybrid fjord
marsh hinge
#

i meant the text on the left as well

hybrid fjord
#

need to move text only

marsh hinge
#

is that not possible

hybrid fjord
#

yes

#

i'll figure it out

marsh hinge
#

alright

hybrid fjord
#

but later bc my electricity will drop out for me after 30 secs xd

marsh hinge
#

😭

humble mortar
#

guh

humble mortar
#

instead of a toggle

hybrid fjord
#

need aligning only

humble mortar
#

have it auto enable when u change the icon

#

and when the icon is changed a reset button appears

hybrid fjord
#

sounds like better UX and more pain for creating T_T

#

but this actually can fix some problems in logic

humble mortar
#

🫑

#

chat plasma 6.1 has hit the main repos

hybrid fjord
#

Yeees

#

And they did update portal

#

Now while starting stream you need just to choose window once, not like pick and click "Start"

humble mortar
#

oh that was a portal issue?

#

not chromium?

#

yippyy

humble mortar
hybrid fjord
#

😦

humble mortar
#

FINALLY

#

WE ARE BARRACK

#

how the guh do i enable fake session restore

#

it isnt working for electron apps 😭

simple groveBOT
#

Discord Account

.yojo.

Operating System

Steamos/archlinux + kde

Linux Only ~ Desktop Environment

KDE

What happens when the bug or crash occurs?

image
so there is no game activity tab, and i can't set custom shortcuts

What is the expected behaviour?

vesktop defines itself as desktop app and has its features

How do you recreate this bug or crash?

  1. open vesktop
  2. ...
brave tendon
simple groveBOT
simple groveBOT
simple groveBOT
next sundial
#

like, I know how it works, but for the average user I still think it would not make much "sense"

#

since there's no clear indication of multiple selection and users will then presume the menu staying open is a bug

upper pine
#

Propose a Change :D

humble mortar
hybrid fjord
#

it is not ideal variant but i really do not see any better way how to make it without editing discord component
so i believe that Curve did the best he can

hybrid fjord
upper pine
#

Who's gonna tell you to hold Ctrl to select multiple

humble mortar
#

experience with using a computer

humble mortar
hybrid fjord
#

I'm doing

#

Backend created, working on UI now

humble mortar
#

guh 1984 i cant automatically merge #517 and #355 anymore

humble mortar
hybrid fjord
#

What's 335

humble mortar
hybrid fjord
# humble mortar no i meant this

I'm doing right it:
Firstly on left only text and icon
If you click on icon and choose another icon then button "Reset" shows up

humble mortar
#

ohhhh

#

oh

#

oh

#

ok

#

i think the icon should be on the right

hybrid fjord
humble mortar
#

should prob close that one

hybrid fjord
#

But not remove branch yet

humble mortar
#

wdym

#

the git history would still be there

hybrid fjord
#

Ohh fine then)

hybrid fjord
humble mortar
#

ive just been merging them locally so i can have a custom splash atm

hybrid fjord
#

xdd understood

humble mortar
#

thats the whole point of making #667

hybrid fjord
#

i did same before for tray icons + keybinds

humble mortar
hybrid fjord
#

it works xd

#

actually i think it is in not bad state

humble mortar
#

#326 or #609?

hybrid fjord
#

609

#

but i present it as temp solution

humble mortar
#

hwuhh

hybrid fjord
#

maybe let me cook at 517 for some time

#

bc there will be a lot of changes

humble mortar
#

wait it works from the cli?????

hybrid fjord
#

actually yes

#

just echo

#

to pipe

humble mortar
#

pkgbuilds are cooked

humble mortar
hybrid fjord
#

you about 609?

humble mortar
#

nono

hybrid fjord
#

ooh then nothing xd

#

I have feeling like icon on left are better

brave tendon
#

icons on left much better imo

vernal lintel
#

that ui is bad either way

hybrid fjord
#

T_T

vernal lintel
#

it doesnt look like it belongs into discord at all

#

try to stick to discord components

#

and what in the world is that font

vernal lintel
hybrid fjord
#

its custom mine from quickcss

humble mortar
#

the right of the window

#

but yeah

#

it shouldnt be a popup

#

i dont think anything else on discord uses a popup

hybrid fjord
#

but putting them all right into Vesktop settings is too much

#

for now it is like

#

and this modal

humble mortar
#

use a dropdown?

vernal lintel
#

popup is fine

#

just that ui does not look very good

#

your ui should look like it could be part of normal discord

hybrid fjord
#

yeah i understand but for now i do not have ideas what can i change to suit discord more

#

in stock discord there is no even settings like this

humble mortar
#

you could clone the privacy settings popup

#

replace the toggles with the icon buttons

vernal lintel
humble mortar
#

TRUE

hybrid fjord
#

but maybe firstly do some clean-ups and commit all what i have now

hybrid fjord
#

what about this pencil thing on hover😭

next sundial
#

AFAIK multiple sources only work on Linux, and I believe this only works on Vesktop (and not official Discord with Vencord; please correct me if I'm wrong)

#

and then, considering that Smoothness/Clarity option has an explanation there I think it would not be difficult to add an explanation/tooltip for audio too

#

while CTRL may be bad UX without having a tooltip, not having a tooltip and not closing by default is also bad UX :v

#

IMO, multiple sources should be behind an advanced option (such as the "Open Audio Settings" present there), because I don't think the average user is going to bother to select multiple sources when they can simply select Entire System

upper pine
hybrid fjord
#

And pencil i not removed, so can change icon using clicking on icon or clicking on button

upper pine
#

Much better

hybrid fjord
#

do i need to add this background?

next sundial
#

maybe make it centralized?

brave tendon
#

Definitely a lot better

hybrid fjord
#

not good for me

#

"Choose icon" text is now **

#

And changed titles from h2 to h3

humble mortar
hybrid fjord
next sundial
#

not sure, I think centralized seems more "natural", but I'm fine either way

next sundial
#

maybe H3 + caps lock + bold?

next sundial
humble mortar
simple groveBOT
#

Hi, had the same issue as top commenter, yet it doesn't matter how do i try to screenshare, or what, i tried file manager, browser, entire screen...I'm on PopOS 22.04 and i did recently update my system, just yesterday was able to do the same thing with success so far.

I'm running the flatpak version and I am aware that most updates claimed by Vesktop might not be applying since the "New Update" top right windows keeps poping up, just saying this for context.

Can i provide any meaningfu...

hybrid fjord
hybrid fjord
#

Walking my dog ^^

#

rather she walking me

hybrid fjord
#

looks good for me + smaller

next sundial
#

LGTM

#

in this case I prefer uppercase initials "Choose Icon", "Speaking Icon" etc.

#

but that's just a preference of style

hybrid fjord
#

makes sense

next sundial
#

πŸ‘ you forgot idle icon, but yeah, that's it

hybrid fjord
#

it is big, just font

next sundial
#

oh

#

no I mean the uppercase

#

you can see it's different from the others

hybrid fjord
#

oh yess

#

i thought you about Idle

next sundial
#

:p

#

and that follows accent color?

#

also, one additional issue

#

we can't ship discord icons on Vencord due to trademark restrictions

#

we would have to use the vencord logo somehow

#

at least for main icon

hybrid fjord
#

accent color may be proposed as first color in color picker presents

hybrid fjord
#

and another svgs (muted, deafened) is taken from Google iirc. Speaking and idlying created manually

simple groveBOT
hot juniper
#

whats stopping you from stealing the SVGs from the discord client code itself trolley

hybrid fjord
#

they are like 3 pixels T_T

hot juniper
#

do you know what SVG stands for

hybrid fjord
#

but they are .png at discord folder

hot juniper
#

dont use the ones they ship there just recolor them in the discord website maybe?

hot juniper
shell moat
#

how to fix it with channeltabs?

vernal lintel
#

v+ needy @shell moat

hybrid fjord
hybrid fjord
next sundial
# hybrid fjord

I would suggest an option or a clear highlight for the accent color

#

I remember Windows

#

it has an option like "Use the accent color from my wallpaper"

#

we can do something similar

#

"Use the acccent color from my system"

hybrid fjord
next sundial
#

if checked, user can't use custom color, you have to first uncheck it

hot juniper
next sundial
#

but it is not clear at first sight that it is the accent color

#

I think a greater distinction would be nicer

hybrid fjord
#

i understood but dunno

next sundial
#

maybe like a separate row above the others with

#

"Accent color: [color here]"

#

then another row with the suggested colors

#

wait lemme draw this on paint

hot juniper
#

if you read this do note I am rewriting that it is built on too much technical debt

#

its super buggy too blobcatcozy

next sundial
#

@hybrid fjord

#

like this

hybrid fjord
#

but i can't edit discord component T_T

next sundial
#

😭

#

well I think the best we can do is edit the description of the feature

hot juniper
#

why dont you steal this instead

next sundial
#

and state that "First color is always your accent color"

#

also

#

you can

hot juniper
next sundial
#

call system

hybrid fjord
#

no way i will redo color picker now

vernal lintel
#

no

hybrid fjord
#

i will add accenbt for linux but ui is pain

vernal lintel
#

look at PinDMs

next sundial
vernal lintel
#

how it gets colour picker

next sundial
#

^ call this

#

it's provided by the system

hybrid fjord
#

why this bad

next sundial
#

that is from KDE, I believe gnome has something similar

humble mortar
#

also windows

#

and mac

next sundial
#

it serves its purpose

#

but I agree

#

may be too much

humble mortar
next sundial
humble mortar
#

just change the description

next sundial
#

as I understand it, the first option would always be the accent color

next sundial
humble mortar
#

the second option is so you can see it in light/dark themes

#

should def change the wording tho

#

Tray icon colour
the main colour of the tray icons - Defaults to system theme

#

Tray icon accent
the accent colour of the tray icons - Defaults to system accent

#

prob could have better wording but thats the gist of what it should be

humble mortar
next sundial
#

out of context, I remeber seeing an issue or PR on Vesktop about having notification badges on the system tray icon

#

IIRC, default Discord doesn't do it

#

if you are pinged @next sundial discord only shows the number one notification badge on the taskbar, while the system tray only has a red dot

#

on the system tray, the red dot is only used if pinged IIRC, it isn't used for unread messages on a channel with notifications on (but I could be wrong)

#

on the taskbar the red dot without number is used for unread channels

humble mortar
#

Unread badge is only for pings yes

#

its a bit of a misnomer

next sundial
#

yes, default Discord has a weird behavior with the unread badge

#

I would even say bad UX

next sundial
#

example

#

if you don't mute a server

#

the unread badge (red dot icon) will also show on the taskbar icon

#

on the app icon

humble mortar
#

I thought the red badges were just for unread pings

#

like it'd mirror the in app red badge on the top left

next sundial
#

no, it could also be for unread messages if a server is unmuted

#

and this is global, works for all servers

#

no way to customize it on a per-server basis IIRC

next sundial
#

system tray red dot is only for pings if I'm not mistaken

simple groveBOT
next sundial
#

πŸ’€

#

another screensharing issue

next sundial
#

good ending

hybrid fjord
#

xdd

humble mortar
#

lmao

next sundial
#

here @humble mortar

#

look at the discord icon on the taskbar

#

that unread badge is for unread channels on unmuted servers

#

same thing for previous versions of Windows too

hybrid fjord
#

also need to mention for accent color
on windows setting color of icons to accent colors makes icons be the same or almost the same color as the panel and icons not visible good xd

next sundial
#

the red dot from the system tray is only for pings IIRC

#

or it could be for both pings and unread channels

#

but I dunno, I've been using Vesktop for ~3 months now and I can't remember the official behavior

next sundial
#

you could add an exception

#

if platform == win32 then don't suggest accent color

#

maybe use windows blue default

hybrid fjord
#

but accent color works only on win and mac xd

next sundial
#

huh

#

but freedesktop merged accent color recently if I'm not mistaken

#

should be available for linux too

hybrid fjord
#

nvm users have ability to choose any color they want so this up to them

next sundial
#

well

#

if you prever to remove accent color I'm fine with it

#

maybe we should leave a default, probably pink due to Vesktop icon

#

(like the screenshots you provided before)

humble mortar
#

defaults to pink

#

suggests system accent

#

allows custom selection

next sundial
#

@hybrid fjord

#

not sure if it's relevant for non-flatpak

vernal lintel
#

don't use linux specific stuff

#

why tf would u

#

discord has a colour picker

next sundial
#

no no I'm saying a possible way to get system accent color

#

not the color picker

#

the color picker we use from Discord

#

oberon made it look like we can't know the accent color from the system

#

but I think that even if there's not a freedesktop "global" implementation then there's possibly something from GNOME and/or KDE

humble mortar
#

ive been yapping about this for a while

#

its on the PR roadmap too

#

he knows about it

hybrid fjord
#

Yeah I just don't know the best way for working with DBus
Should I connect some lib for this (and even for other features in future) or should I just use CLI commands
Anyway picking accent color is not a major feature so maybe we can even let electron to implement it

humble mortar
#

I dont really like the idea of waiting on electron to implement it as its been an implemented standard for months and nothings happened on the electron side

#

let alone unread indicators

hybrid fjord
#

Where else we had an need of dbus calls from Vesktop?

humble mortar
#

I swear i saw a PR with dbus in the title at some point

#

282 & 322 from a quick search