#๐Ÿ–ฅ-vesktop-development

1 messages ยท Page 32 of 1

humble mortar
#

github SO stupid

vernal lintel
#

ur so mad lol

humble mortar
#

no i actually am

vernal lintel
#

im pushing 2000 commits to ur repo

humble mortar
#

KYSS

#

change what

#

OH IM DUMB

#

im dumnb

#

ok i

#

LOL

#

my brain is fried

vernal lintel
#

๐Ÿ˜ญ

#

Covkie/Vesktop

humble mortar
#

yopep

#

@serene sigil pushed to aur btw

vernal lintel
humble mortar
#

stop lying

#

i dont like that the auto updater script runs on a platform where it can't function but wtv

#

@worn harness i think we should move vesktop to /opt

#

why husk

worn harness
#

thats not the proper path

humble mortar
#

how

worn harness
#

it was there at first but then i fixed it later

humble mortar
#

other electron apps i use go into /opt

#

why is /usr/lib more propper

worn harness
#

cause so many things put in /opt but its not really the right way

#

why change it

humble mortar
#

why is it not right

worn harness
#

its the lazy way

humble mortar
#

skull

#

ok

worn harness
#

@humble mortar i had an idea

#

each package has the same desktop file so couldnt we just put one in the root of the repo and use that instead

humble mortar
#

@vernal lintel can u retroactively push .pacman binaries for 1.5.5 or does it have to wait for 1.5.6

worn harness
#

and afterPack

#

maybe symlink

worn harness
#

@humble mortar does symlink work

humble mortar
#

im not sure

#

i dont think aurpublish has any symlink handling

#

afterPack wouldnt be needed if vee just merged the stupid icon PR

#

im literally sobbing

worn harness
#

@humble mortar how do i modify electron-builder code

#

need to debug

humble mortar
#

wdym

#

guhhh the current vesktop-bin package uses system electron

#

enemy

worn harness
worn harness
humble mortar
#

no

worn harness
#

can we takedown

#

or request transfer

humble mortar
#

i wanna take it over

#

yeah

#

but we'd need the .pacman targets

#

so

worn harness
#

guhh steal vees login

vernal lintel
humble mortar
#

..,.

vernal lintel
#

it would be wrong to install it to /usr/share because /usr/share is supposed to be architecture independent

worn harness
#

wha

humble mortar
#

electron IS architecture independent

#

arch electron packages are in /usr/lib

#

where vesktop is

vernal lintel
#

if you only install the .asar file and nothing else sure

worn harness
#

the only thing the pkgbuild puts in /usr/share is the desktop file and icons and license

vernal lintel
#

if you install the entire electron app including the binary then yes

humble mortar
#

/usr/lib/vesktop is where its installed rn

vernal lintel
#

and is that just the .asar file or also the electron binary

humble mortar
vernal lintel
#

yeah that's not really right lol

#

/opt is most appropriate

worn harness
#

oh my goddd

humble mortar
#

well system electron is /usr/lib so idk

worn harness
#

it works leave it alone

humble mortar
#

well im asking because the .pacman builds to /opt

vernal lintel
#

/usr/lib is only for libraries / object files

humble mortar
#

ill have to do some moving around

vernal lintel
#

if you want to put it in /usr then the correct way would be to split it up into /usr/share, /usr/lib and /usr/bin

#

but that's insane and not how electron works

#

that's why electron packages make most sense in /opt

humble mortar
#

that makes sense

vernal lintel
#

putting an entire app in /usr/lib is just wrong, you're violating spec

#

but it also doesn't really matter much

humble mortar
#

/lib not /share

vernal lintel
#

brother this is the entire app in /usr/lib

worn harness
#

those are libraries are they not

vernal lintel
#

/usr/lib is only for libarires (.so files and secondary binaries)

humble mortar
#

i'll leave it for now i guess

#

if someone complains it can be moved

worn harness
#

if there wasnt a vesktop.sh script then vesktop binary could go in /usr/bin

vernal lintel
# vernal lintel brother this is the entire app in /usr/lib

if you wanna put these files in /usr then the "right" way would be something like this:
/usr/share: resources, locales, resources.pak, icudtl.dat
/usr/share/licenses: LICENSES.chromium.html, LICENSE.electron.txt
/usr/lib: vk_swiftshader, vesktop, *.bin, *.so, chrome-sandbox, chrome_crashpad_handler
/usr/bin: vesktop.sh

#

but electron wasn't made for splitting like that

#

that's why you put it in /opt cause opt is like the misc app folder

worn harness
#

@vernal lintel do youknow how to debug a specific line in electron-builder
node_modules electron builder is the built output

vernal lintel
#

is this about cookies issue from earlier

#

the json error

worn harness
#

different

humble mortar
#

make a pnpm patch

worn harness
#

does that work if its compiled already

humble mortar
#

yeah

vernal lintel
#

if it doesn't have to be inside the chroot then you can literally just edit the file in place

humble mortar
#

u just patch the js

vernal lintel
#

assuming it's a js file

worn harness
#

i cant

humble mortar
#

are u patching it from a pkgbuild?

#

or just raw

worn harness
#

ijust need to add a console.log statement to a source code file

humble mortar
worn harness
#

but i dont have a patch

humble mortar
#

make it

#

with that command

vernal lintel
#

what r u even trying to debug

worn harness
#

cookie that just gives me the built binary

vernal lintel
#

show error or whatever

worn harness
#

im investigating somethiong on my own

humble mortar
#

it doesnt give u a dir with all the js files?

worn harness
#

no

worn harness
#

i dont wanna edit minified code

humble mortar
#

u have to

#

its not that minified

worn harness
#

guh?

vernal lintel
#

you love people pushing minified js to npm for some reason

#

so insane

humble mortar
#

saves bytes!!!!!

vernal lintel
#

i wish npm banned pushing minified js

vernal lintel
#

now you know what vencord plugin devs go through

worn harness
#

cookie will make plugins

humble mortar
#

my enemy

worn harness
#

what does hoisted mean

vernal lintel
#

ur hoisted

worn harness
#

oh

#

okay

vernal lintel
#

actually we might not actually need it anymore

#

because we use esbuild to bundle dependencies

worn harness
#

if i comment out node-linker=hoisted then it builds without npm fully

vernal lintel
#

yes

#

node-linker=hoisted turns pnpm into npm essentially

#

that's why it uses npm

vernal lintel
#

try it and see

#

in the past we bundled some dependencies and without hoisted, it bundles symlinks instead of the actual files

worn harness
#

it work

vernal lintel
#

but we don't do that anymore i think

worn harness
#

i think its working, i installed and im on it right now

worn harness
#

how

vernal lintel
#

๐Ÿดโ€โ˜ ๏ธ ๐Ÿ€

humble mortar
#

veeeeee how should i format itt

worn harness
#

maybe a table would be better

#

what about riscv, powerpc support

vernal lintel
worn harness
#

6502 etc

humble mortar
#

giant button

vernal lintel
#

dont be lazy I did that too a while ago

#

i made the UserScript button

worn harness
#

@vernal lintel will you gonna remove hoisting from the npmrc

vernal lintel
#

will you gonna

worn harness
#

yes

#

@humble mortar cookieeee ๐Ÿ˜ญ

humble mortar
#

im looking for an existing design i can steal

worn harness
#

what about node-linker=hoisted

#

ok

#

wrong thing

#

one of these

vernal lintel
humble mortar
humble mortar
vernal lintel
#

oh my god its so ugly

worn harness
#

why does winget have them all seperate

humble mortar
#

so insane

worn harness
#

ohh thats so husk

vernal lintel
worn harness
#

why did they think this was good

vernal lintel
#

its so stupid

humble mortar
#

adobe ahh

vernal lintel
worn harness
#

@humble mortar sniffs crumbs

vernal lintel
#

chatgpt has been going for minutes, why is it so slow

worn harness
#

oh

#

chatgpt just gave me a react component it can render

vernal lintel
#

thats like perfect

worn harness
#

since when could it run react

vernal lintel
#

@humble mortar

#

who needs graphic designers

worn harness
humble mortar
vernal lintel
#

????

#

no it doesnt

humble mortar
#

horror font

#

bad spacing

worn harness
#

@humble mortar sooo judgemental

humble mortar
#

yupp

vernal lintel
humble mortar
#

rude

vernal lintel
#

chatgpt slower than cookie

worn harness
#

cookie so slow

#

@vernal lintel do my final project

humble mortar
#

Ill probably kill u if u use that badge

vernal lintel
worn harness
#

Kylieeee ๐Ÿ˜ญ

vernal lintel
#

Kylieeeee ๐Ÿ˜ญ

humble mortar
#

youre so insane

#

all of you

worn harness
#

@vernal lintel make svg renderer plugin

vernal lintel
#

๐Ÿ‡ฐ๐Ÿ‡พ๐Ÿ‡ฑ๐Ÿ‡ฎ๐Ÿ‡ช๐Ÿ‡ช๐Ÿ‡ช๐Ÿ‡ช๐Ÿ‡ช๐Ÿ‡ช๐Ÿ‡ช๐Ÿ‡ช ๐Ÿ˜ญ

worn harness
#

๐Ÿ‡ฐ๐Ÿ‡พ๐Ÿ‡ฑ๐Ÿ‡ฎ๐Ÿ‡ช๐Ÿ‡ช๐Ÿ‡ช๐Ÿ‡ช๐Ÿ‡ช๐Ÿ‡ช๐Ÿ‡ช๐Ÿ‡ช ๐Ÿ˜ญ

humble mortar
#

ok i brb

vernal lintel
#

we scared her away

#

V

#

โœŒ๐Ÿป

worn harness
#

we win

worn harness
#

@humble mortar dms

humble mortar
#

my eyes hurt

#

@vernal lintel you scared me

vernal lintel
humble mortar
serene sigil
#

you don't go to the aur to download tihngs

humble mortar
#

the aur page

#

and yes you do

#

what

#

๐Ÿ˜ญ

#

u download packages off the aur

simple groveBOT
#

Content

The UI was super laggy today and usually no matter what system i'm on I encounter a sort of memory leak where 10 ish minutes into screensharing I need to turn it off and on again otherwise my fps drops drastically. In the 2nd most recent update this was even worse to the point where my games straight up frameskip so I thought updating would fix it, and now I can't even screenshare at all.

My pc specs :
Manufacturer: LENOVO

Model: LNVNB161216

Form Factor: Laptop

Processor Info...

humble mortar
#

dude gave his entire PC setup but didnt give logs

#

love

tidal quarry
#

vesktop now on brew :D

stark falcon
simple groveBOT
#

https://github.com/Vencord/Vesktop/issues/803#issuecomment-2771256055

@kode54, I solely wanted to know what relates that problem to this. I ask because although I presume it's the fact that you need to disable Wayland support in Electron, do you see the same error message in GNOME Abrt? It shouldn't matter much, but it helps to separate that problem from your other one about your webcam.

I'll estimate that your webcam's problem and the poor compositor support are separate. I suggest that ...

scenic hollow
#

@brazen kite are you having any issues with the shortcuts pr right now? what was this about exactly?

#

i did test on windows btw it was seemingly fine (it also did notably need visual c++ for some reason)

humble mortar
#

SAME ERROR

#

you need npm

serene sigil
#

@tidal quarry guh

serene sigil
#

and visit the aur

#

you use a package manager

#

husk

tidal quarry
humble mortar
serene sigil
humble mortar
#

aur helpers arent official

serene sigil
#

guh

humble mortar
#

you download the pkgbuild and any other files from the aur

#

then makepkg

serene sigil
#

i dont know anyone that actually does that

#

but fair enough

humble mortar
#

you can still link to the aur page

#

people aren't stupid

serene sigil
#

oh wait no

serene sigil
serene sigil
humble mortar
#

stop building debug info

#

delete those

#

and youll be fine

serene sigil
#

I'm just using vesktop-git

humble mortar
#

nothing wrong with the package

serene sigil
#

I did not explicitely enable debug info

#

alright sorry im like

#

stupid

#

lmao

humble mortar
#

its on by default in pkgbuild conf

serene sigil
serene sigil
humble mortar
#

np

serene sigil
#

@tidal quarry thank uuuu

tidal quarry
#

ywww

brazen kite
#

so yk the issue where the discord keybind manager can't actually register mouse inputs

#

even if I were to register the bind through the CLI on windows, there's no apparent way for me to be able to go and actually bind my mouse to the bind

#

does that make sense?

#

like on KDE, for example, I could go to the keybinds manager and do it through there

#

so what I was asking was if it's possible to be able to pass in the key you want to bind to into the CLI

humble mortar
#

KDE doesnt support mouse shortcuts like that

brazen kite
#

windows doesn't have a central place to do that is all I was trying to say

scenic hollow
brazen kite
#

I was trying to mess with it to try and figure it out

#

so do I need to like make a script that executes the CLI thing when I press my mouse?

humble mortar
#

what is discord using for key capture in the bind menu?

brazen kite
#

okay.

#

disregard my message in the PR then

humble mortar
scenic hollow
#

i think the official discord app's key capture thing is actually from the native part

#

we'd probably also have to rewrite it if we want it to capture mouse and stuff

humble mortar
#

renderer doesnt have access to more than the 2 side buttons

#

a native impl is def needed

#

i dont have a mouse with more than two side buttons so I can't test ๐Ÿ˜ช

#

actually I could prob simulate it with xdotool key

scenic hollow
#

we could also just tell people to bind stuff to the cli.....

humble mortar
#

binding to the CLI with a script is ass cause no push to talk

brazen kite
simple groveBOT
#

Sorry about that. The webcam issue doesn't seem to be happening with official client. I also had to install a patch against OBS Studio to work with v4l2loopback 0.14.0.

My environment is labwc-git on Arch, with AMD Radeon RX 7700 XT, and a Logitech C615 camera that prefers to use MJPEG for its higher resolutions and frame rates. I'll post a different issue for the camera one.

I do not receive a notice when the startup fails, except for some EGL errors in the terminal if I launch it there. I...

simple groveBOT
simple groveBOT
#

Content

This is a pretty major issue. Direct messages do not work. I'm not sure why it hasn't been reported. It seems to be tied to the new UI change.

I'm on Linux Mint and running Vesktop through flatpak. Click to copy version doesn't work or I'd paste it in here.

Solution found here: https://github.com/Vencord/Vesktop/issues/1135#issuecomment-2741203553 This fixes the issue, but I imagine others less savvy are having this problem too so this is probably a major issue for Vesktop...

vernal lintel
#

what

#

"i'm not sure why it hasn't been reported"
literally links other issue that reports the same issue

vernal lintel
#

im confused xd

simple groveBOT
vernal lintel
#

๐Ÿ˜ญ

vernal lintel
#

why is that even necessary

#

not needed on linux & windows

#

why do they specifically block it on mac

#

but not windows

vernal lintel
#

thats so stupid lmao

#

why does mac even allow that

#

how? @humble mortar

#

XFCE

#

has working badge

simple groveBOT
humble mortar
#

log the entire object to see

humble mortar
#

find ur lib folders for the libunity so

#

it might be a fake badge that does the count for the number of de notifications

vernal lintel
#

it's XFCE

#

I use dunst for notifications

woeful current
#

MacOs

simple groveBOT
#

I'm honestly kinda confused why you mentioned that issue and having found the solution there and still opened a second report of the same thing xD

#1135 Doesn't mention the issue in Direct Messages, but in Nitro, so it could be a different issue. I wasn't sure if I should add to 1135, but it is marked as closed without any fix, so adding to it seems irrelevant.

Not really much to do from our side, Discord has to just fix it

Is there a valid reason Vesktop should ever prompt to open the ...

simple groveBOT
simple groveBOT
simple groveBOT
#

I am a developer, was just helping report an issue I experienced.

-------- Original Message --------
On 4/5/25 14:57, nin0dev wrote:
known and a fix has been made and will soon be released.
for now just use the native titlebar.
also:
IMG_4516.jpeg (view on web)
โ€”
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.๏ฟผMessage ID: @.***>
๏ฟผnin0-dev left a comment (Vencord/Vesktop#1148)
known and a fix has been made and will...

woeful current
#

this makes it unclear because then "Hi I Vibe Coded A Website I am Developer"

simple groveBOT
simple groveBOT
scenic hollow
#

it only took a year and then some wooo

#

also tested stuff on flatpak and appimage everything works seemingly fine

humble mortar
scenic hollow
#

you can't on wayland unless you go into the code change the return conditions at the beginning of each function in the patch

scenic hollow
woeful current
#

fatpak

humble mortar
#

should probably be an env var for that case

scenic hollow
#

Uhhhhh I mean that wouldn't work except in other x11 apps but yeah it checks the XDG_SESSION_TYPE and WAYLAND_DISPLAY variables

simple groveBOT
woeful current
#

i have a dream

#

where Nixos is permanently discontinued

vernal lintel
#

sadan would die

woeful current
#

John meyer death soon

simple groveBOT
simple groveBOT
simple groveBOT
simple groveBOT
simple groveBOT
simple groveBOT
simple groveBOT
simple groveBOT
simple groveBOT
simple groveBOT
simple groveBOT
#
[Vencord/Vesktop] New tag created: v1.5.6
vernal lintel
#

we should move most patches from vesktop to the vencord codebase

#

VesktopFixes core plugin

#

not rn tho

vernal lintel
#

just so we can fix broken patches without needing an entirely new vesktop release

cyan flame
#

Remote update patchs

simple groveBOT
sly cairn
#

@vernal lintel re:

don't think this makes sense to be fixed upstream since we just repack the AppImage
if this was about my comment it was because we made desktop file changes upstream that then trickled down to flatpak, and we hadn't had any complaints about it since we did that so i wasn't sure if it was still needed

vernal lintel
#

ohh

#

what did we change again

#

i forgot

sly cairn
#

i cant quite remember but it was like

#

the name of something

#

ill see if i can find the commit that comment is referencing

vernal lintel
#

i really hope the fucking flathub autoupdater works now finally

#

after my previous fixes

sly cairn
#

it's flathub

#

dont get your hopes up

vernal lintel
#

but thats 1.5.5

sly cairn
#

sorry i would open that link but windows explorer decided to crash so now i cant open links

vernal lintel
#

i really hope it prs 1.5.6 soon

sly cairn
#

okay let me see

#

ah this is where we push the metainfo to the release?

vernal lintel
#

should we ask the flathub maintainers if they can add our webhook now

#

or should we add a workflow that does it manually trol

sly cairn
#

i poked them on matrix about it a while ago

#

no dice

vernal lintel
#

no response or no?

sly cairn
sly cairn
#

lost in the wind

#

i bumped it and same result

vernal lintel
#

should I open an issue on the flathub repo

sly cairn
#

not a bad idea tbh

vernal lintel
#

not ours

#

the like central one

sly cairn
#

yeye

simple groveBOT
next sundial
#

btw not sure if I'm going crazy

#

but after upgrading to vesktop 1.5.6 text all over the app seems a bit blurry...?

#

probably some electron shenanigan

next sundial
#

I have a window rule applied to vesktop

#

so maybe it does appear

#

I had a similar issue with ruffle, the devs fixed it there

vernal lintel
sly cairn
#

oh shit

#

huzzAH!

vernal lintel
#

for some reason it made two prs

#
GitHub

Vesktop: Update dev.vencord.Vesktop.metainfo.xml to 1.5.6
Vesktop: Update Vesktop.AppImage to 1.5.6
๐Ÿค– This pull request was automatically generated by flathub-infra/flatpak-external-data-checker. P...

GitHub

Vesktop: Update dev.vencord.Vesktop.metainfo.xml to 1.5.6
Vesktop: Update Vesktop.AppImage to 1.5.6
๐Ÿค– This pull request was automatically generated by flathub-infra/flatpak-external-data-checker. P...

sly cairn
#

weird

vernal lintel
#

oh wait

#

it's cause I made a commit

#

one of them is outdated

#

ig it automatically made a second pr cause it noticed the first one was outdated

#
flatpak install --user https://dl.flathub.org/build-repo/176756/dev.vencord.Vesktop.flatpakref
#

time to test

rotund pantherBOT
humble mortar
#

look at this

#

the resolution is undefined when it refused to load

#

when hardware encoding is enabled

#

i wonder if thats related

#

sometimes it fails somtimes it takes a whie

#

weird as hell

#

[RTCConnection(111, stream)] Go Live Media sink wants: {"116989":100,"resolutionWants":{"116989":{"width":0,"height":0}}}

#

so the failure to load is cause its timing out

#

so why does it take forever to load

humble mortar
#

almost every time the hardware encoded stream fails that log happens

#

so for some reason the RTCControlSocket is closing which then triggers a retry timer

#

but that timer is too long and the stream times out

#

so why is the socket closing on hardware encoded streams

#

encoded webcam streams load just fine

tidal quarry
#

so theres your answer hehe

vernal lintel
#

yay!!

next sundial
#

the settings of this plugin are not visible

#

it's one of the required plugins

sour muralBOT
#

index.ts: Lines 39-51

const settings = definePluginSettings({
    // This needs to be all in one setting because to enable any of these, we need to make Discord use their desktop context
    // menu handler instead of the web one, which breaks the other menus that aren't enabled
    addBack: {
        type: OptionType.BOOLEAN,
        description: "Add back the Discord context menus for images, links and the chat input bar",
        default: false,
        restartNeeded: true,
        // Web slate menu has proper spellcheck suggestions and image context menu is also pretty good,
        // so disable this by default. Vesktop just doesn't, so we force enable it there
        hidden: IS_VESKTOP,
    }
});
cyan flame
#

hidden: IS_VESKTOP

next sundial
#

that seemed like a bug because there is "Settings" without any settings

#

maybe just hide the cog wheel instead of the menu inside the cog wheel

next sundial
#

probably worth it to investigate

humble mortar
#

likely this

next sundial
#

^ @simple willow

humble mortar
#

just launch Vesktop with the disable flag for it??

next sundial
humble mortar
#

dunno

next sundial
#

found it
--disable-features=FontationsFontBackend

simple groveBOT
humble mortar
humble mortar
#

insane

#

i wonder if the electron people would be up for backporting the fix

#

ekse we'd need to wait for electron 36

next sundial
humble mortar
#

not platform limiting means its obvious it affects all platforms

#

and it IS fixed in 36 cause that electron version has the chromium version with the fix

next sundial
vernal lintel
#

no that won't happen

#

if it really has to be a hotfix then it should be added to vencord instead. Making an entirely new release for that is insane

#

but so far only 2 people complained

#

you can just pass the flag yourself

next sundial
#

I thought they were separate

#

this is already fixed on electron 36, but it's still in beta

next sundial
simple groveBOT
#

Also experiencing this on Ubuntu 24.04 latest patch as of this moment with nvidia 550 drivers (official & installed via ubuntu-drivers) and with 3080ti & quadro p600. I thought it was a driver issue with the v4l2 usb attached to my dslr "webcam" then noticed it displays properly in other applications and the official version of discord. Hopefully it can be resolved soon as this is a major downside to this application now...

humble mortar
#

its a PR that should exist if vesktop ever tags another version on 35

#

but its not high priority

vernal lintel
#

next tag 2027

humble mortar
#

@vernal lintel what happened to vesktop troubleshooting wiki

humble mortar
#

millions of randoms will suffer

#

youll make Tessie rule for blurry text/font

vernal lintel
humble mortar
next sundial
#

that's why he invented vesktop

humble mortar
#

you will push flag that fixes an edge case as a single commit tag

#

@vernal lintel I'm hostile forking vesktop to merge all the shit you won't (evil)

vernal lintel
#

yop

simple groveBOT
simple groveBOT
#

Content

An assertion that was added here causes vesktop to not start.

Output:

APPIMAGE env is not defined, current application is not an AppImage
Vesktop v1.5.6
checkForUpdatesAndNotify called, downloadPromise is null
[4132:0415/194107.072039:ERROR:wayland_event_watcher.cc(47)] libwayland: xdg_surface#35: error 5: the effective window geometry is empty

^[[Afish: Job 1, 'vesktop' term...
simple groveBOT
simple groveBOT
#

Content

Hey I noticed Vesktop is having graphical Window issues and I had the same issue on my software and wanted to report how to fix it if you did the same workaround for KDE

I have a issue report and documented it on my website news post
https://gitlab.com/linuxbombay/crunchyroll/binaries/1.0.4-4/-/issues/1
https://coreybruce.netlify.app/news/software-bug-fix-for-gnome-12-4-2025.html

On package.json for example if you add -ozone-platform-hint=auto after electron . it will c...

humble mortar
#

why is a launch flag in package.json

simple groveBOT
simple groveBOT
loud finch
#

what a cute icon

vernal lintel
#

true

simple groveBOT
#

After some long trial and error (while also discovering the Patch Helper thing in setting kinda late .-.) I did the patch thingy! It was fun to do, however I really couldn't think of a better way to apply the change other than saving the value in the Settings.store object whenever it is toggled and then check the value on the startup over at src/main/index.ts like before. If you can think of one you can tell me and I'll check it out. :P

The switch doesn't seems to do anything, even...

simple groveBOT
#

not sure how i got it into this state.

I ran Vesktop through the terminal this morning and global PTT worked just fine. didn't even log out, but when i tried it just now, it didn't work. Deleted the shortcut from KDE System Settings but nothing changed. There's now no trace of Ctrl+` in my ~/.config, but it still prints this error when i press Ctrl+`

๎‚ฐ git describe --always
12561e3

๎‚ฐ npm run start
npm warn Unknown project config "node-linker". This will stop working in the...
simple groveBOT
simple groveBOT
simple groveBOT
#

Content

Operating System

Linux Mint 22.1 Cinnamon

Linux Only ~ Desktop Environment

X11

Package Type

Flatpak

What happens when the bug or crash occurs?

The following error message appears. Closing the error message sometimes loads the full image and other times Vencord crashes to a blank window. Either way the client has to be restarted to access Vencord again.

A JavaScript error occurred in the main process

Uncaught Exception:
Error: ipc: Disallowed host cdn....
simple groveBOT
woeful current
#

tbf the form is quite unclear

#

since the random that vibecoded some next js app is a "developer" and to his eyes can open an issue

simple groveBOT
#

I am also running into this issue on KDE/Wayland while using the flatpak. Vesktop goes completely blank, and I have to manually restart it and rejoin the call. It's inconsistent, but it usually happens around 30 minutes into streaming.

I have this exact problem as well
Me and my friend both share our screens while playing games, he's using Fedora 41 with Nvidia 4070Ti Super and AMD CPU (can't remember the model) and he has no issues at all, however, for me it freezes a few minutes into sha...

humble mortar
#

@vernal lintel another yapper in vesktop support about vesktop exploding cause no loadurl retrying..

#

you will merge the fix

vernal lintel
#

GUHHHH

#

i left review

#

di u fix

humble mortar
#

GUH

#

I DIDNT KNOW

vernal lintel
silk elkBOT
humble mortar
#

NO STOP HITTING HER

humble mortar
#

@vernal lintel ogrb

vernal lintel
humble mortar
#

long ass message

vernal lintel
#

is there an error map

humble mortar
#

wdym

#

i can do Failed to load with error code: -9

vernal lintel
#

love

humble mortar
#

logs include the real description

vernal lintel
humble mortar
#

evil

#

i love the word evil

#

wonderful

#

honestly id rather just Failed to load Discord: description

humble mortar
humble mortar
#

ok i pushed

#

OOPS

#

i may be stupid

#

i forgot to save

simple groveBOT
#

Content

After inspecting an image, I tried zooming it in directly from the Discord client (I didn't open it inside a browser tab) and then I got an error and the renderer crashed. From what I can tell, this new feature (zooming in directly from the Discord client) came with Discord's new UI update.
This is the what the error says:
`Error
A JavaScript error occurred in the main process
Uncaught Exception:
Error: ipc: Disallowed host cdn.discordapp.com
at pc (VCDMain:23:571)
at IpcMainImpl...

simple groveBOT
simple groveBOT
simple groveBOT
humble mortar
#

@vernal lintel

vernal lintel
#

like arch repos?

humble mortar
#

extra yeah

vernal lintel
#

interesting

#

i wonder why the system electron choice

#

official discord packages and stuff don't do that either, do they?

humble mortar
#

no they dont

vernal lintel
#

i mean it doesn't matter that much but electron does have issues pretty often like the crashing in the past (v31 iirc) and the weird border rn on v35

humble mortar
#

yeah

#

and the recent hw acceleration flag changes

#

I'd be okay with the package bumping minor electron versions in the build and shipping that bundled

#

but system electron is too volatile

humble mortar
vernal lintel
#

ah did they fix it?

vernal lintel
#

or if he's just interested in packaging it due to popularity

humble mortar
#

35.2.0

vernal lintel
#

cool

humble mortar
#

ughhh still no response from discord about the hardware encoded streams refusing to load issue

vernal lintel
#

I don't think anyone has ever successfully reported a bug via discord support

humble mortar
#

was @hybrid fjord I think

vernal lintel
#

which also has its upsides

#

I'm not against using system electron

it's only bad when it creates issues for us (aka people complaining to us over something we don't control)

humble mortar
#

which is why i think the package bundling electron that can be changed when the package builds is better

#

so it can be reverted or bumped

simple groveBOT
#

The switch doesn't seems to do anything, even I turned the hardware acceleration switch off the screen artifact still appear

If disabling Hardware Acceleration under Vesktop Settings doesn't fix the artifacts, then this PR won't do so too. For some people the cause of artifacts when screen sharing is video hardware acceleration, this PR is made so those people can disable only video hardware acceleration while not disabling all hardware acceleration.

However video hardware accelerat...

humble mortar
#

@charred geyser

humble mortar
woeful current
#

v+ prog 1363481780979503127

humble mortar
charred geyser
#

Hey

#

I have an account using my personal email, but created this one now since this is arch business

#

Not a regular user any more tho, no

#

Happy to hear your input on vesktop in official repos

charred geyser
simple groveBOT
humble mortar
charred geyser
#

Sure, I see that PoV

#

Just generally, what breakage are you expecting? Electron packages are in my opinion very stable, as long as one uses the same major as upstream. But I can see how vesktop might be more complex

#

The ambition is to reduce issues for you, not the opposite ๐Ÿ™‚

humble mortar
vernal lintel
#

both are fine honestly, doesn't matter much ๐Ÿ˜…

#

what kind of delay is expected between us publishing a new release and it getting updated in the official repos?

humble mortar
vernal lintel
#

vesktop usually doesn't have that frequent updates but things are a bit volatile due to depending on discord

there's always the possibility that things could break badly if discord makes major changes and we need to push an update quickly

humble mortar
#

yop

vernal lintel
#

minors don't necessarily have to match, it's probably even beneficial to use independent minor to get new electron fixes quicker

like the window border jank on gnome rn

humble mortar
#

it uses system electron yeahg

#

system electron on arch is usually latest minor for the packaged major versions

#

electron is just a link to the latest electronXX major

vernal lintel
#

we should copy over some of these dependencies from the discord package

same optionals and libnotify (same story as official discord app, notifications with no libnotify will crash the app)

humble mortar
#

those will be brought in if using system electron

#

look at vencord/pkgbuilds/vesktop(-electron)

vernal lintel
#

libnotify won't

humble mortar
#

yes look at the packages ive already written ๐Ÿ˜ญ๐Ÿ˜ญ๐Ÿ˜ญ๐Ÿ˜ญ

#

ive been through this whole rigmarole

vernal lintel
charred geyser
humble mortar
#

I'm not really familiar with official maintainer guidelines and the like

humble mortar
vernal lintel
#

referring to the .desktop file

charred geyser
#

Depends on what you're comparing to x) It's an application process, generally requires a few years of packaging/involvment

charred geyser
humble mortar
#

like what I'm currently doing for the icons

vernal lintel
#

the dir target for some reason doesn't generate a desktop file, it's dumb

there's a pacman target that generates a tar.xz pacman package, that should contain one I think

for the flatpak we just extract the desktop file from the appimage

humble mortar
#

it'd increase build times but since its only a build once distribute to everyone it doesnt really matter

humble mortar
#

hm

#

could we maintain the official extra package on a clean branch in vencord/pkgbuilds then?

charred geyser
vernal lintel
humble mortar
#

yeah I'm overcomplicating it

#

oopsies

charred geyser
#

Just to circle back a bit on the discussion, the reason for adding to extra as I see it is that neither you nor the users would have to deal with build issues ๐Ÿ™‚ If you'd prefer to continue via the AUR, I'm not going to overrule that

humble mortar
#

no youre right

#

i keep seeing people complain about pnpm issues or something

charred geyser
#

I gotta log off pretty soon, I don't think there is any urgency to do anything really, so we can iterate on the PKGBUILD and also make sure you get accounts on gitlab.archlinux.org before doing anything

#

You'll need that for issues/patches

humble mortar
#

yeah i already have one

#

thanks!

#

I'll look at doing the .pacman target extraction stuff

charred geyser
#

Thank you! Good discussion all around ^^

vernal lintel
#

adding it to extra is definitely a good idea, thank you for taking initiative

it just needs to be done right, I still have ptsd from when one of the (unofficial) aur packages bumped to a broken electron major and we got tons of reports over that ๐Ÿ˜ถ

charred geyser
#

Totally get that and empathize, AUR can be a bit chaotic at times ๐Ÿ™‚

hybrid fjord
#

just reported and stalled

#

it's still occurs

humble mortar
simple groveBOT
#

The switch doesn't seems to do anything, even I turned the hardware acceleration switch off the screen artifact still appear

If disabling Hardware Acceleration under Vesktop Settings doesn't fix the artifacts, then this PR won't do so too. For some people the cause of artifacts when screen sharing is video hardware acceleration, this PR is made so those people can disable only video hardware acceleration while not disabling all hardware acceleration.

However video hardware...

simple groveBOT
#

Yeah I meant it that way, btw I don't know how github work does the pr you mention push in to the official repo? I am using the official repo while commenting. switching off hardware acceleration under vesktop setting does fix the artifact, however under video section the switch doesn't fix the artifact. so my workaround right no is to disable hardware acceleration under vesktop setting which make my whole vesktop laggy.

In a pull request the code isn't on the main branch or repo and wil...

simple groveBOT
humble mortar
#

@vernal lintel you nuked issues?? ๐Ÿ˜ญ

vernal lintel
#

ye i disabled them

humble mortar
#

insane

vernal lintel
#

little point keeping them open

#

it's just the same few things every time

humble mortar
#

tracking issue for more customization gootbye

vernal lintel
#

people should post in support

humble mortar
#

have a bot auto lock ๐Ÿ˜ญ

#

dictator vee..

vernal lintel
humble mortar
#

gonna open issues by PRing a space in the readme

vernal lintel
#

we can turn them on again in the future

humble mortar
#

thats what they all say...

#

next youll archive the repo..

#

vesktop going closed source!!!

vernal lintel
#

TRUE

#

lmfao

#

we just need to make vesktop wiki a reality

#

force me to tomorrow @humble mortar

humble mortar
#

im on vacation tomorrow

#

and every other day that ill need to help make a wiki

#

sorry!

#

how the hell do i fork on the arch packages gitlab

#

husk can i not do it cause the repo is empty

#

evill

humble mortar
tidal quarry
charred geyser
humble mortar
#

@vernal lintel do wiki

vernal lintel
#

@humble mortar

โš ๏ธ Arcane is banned.

vernal lintel
#

did the blurfonts stuff get fixed in electron yet

#

oh my god ๐Ÿ˜ญ

#

this is that gnome window border bug

humble mortar
vernal lintel
#

is the fix just a chromium bump?

humble mortar
#

ya

vernal lintel
#

doubt they're gonna backport that unless google backports

#

does google backport to old versions?

#

or do they only have exactly one latest version

humble mortar
#

they back port some things

#

idk if slightly blurry fonts is a priority for them ๐Ÿ˜ญ

vernal lintel
#

i feel bad for google engineers

#

what do companies like google even gain from using their own git server

humble mortar
humble mortar
#

most have github mirrors anyway so like

vernal lintel
#

isnt google git just one MASSIVE monorepo

#

๐Ÿ˜ญ

humble mortar
humble mortar
#

holy fuck

#

95% of google slop is in a mono repo

vernal lintel
#

im gonna do the same

#

all my projects in one massive monorepo on github

humble mortar
#

how tf do you even organize dependencies like that

vernal lintel
humble mortar
vernal lintel
#

Typical use involves Clients in the Cloud (CitC). This system utilizes cloud backend and a local FUSE filesystem to create an illusion of changes overlaid on top of a full repository. This approach enables seamless browsing and use of standard Unix tools without explicit synchronization operations, thus keeping the local copy very small (average size of a local copy is less than ten files). All file writes are mapped to snapshots thus permitting restoration of the previous states of the code without explicit snapshotting. Due to the always-connected operation, CitC allows easy switching of the computers as well as sharing the modified code with other developers, the automated build system and testing tools.[7] As a result, the majority of Google developers practices trunk-based development with no personal branches; the branches are mostly used for releases.[8]

#

๐Ÿ˜ญ

humble mortar
#

oh wow using a FUSE overlay is actually smart wtf

#

cloning the whole thing would be terrifying

vernal lintel
humble mortar
#

WHAT THE FUCK

vernal lintel
#

as of 2016, the repository was storing 86 terabytes of data comprising two billion lines of code in nine million files (two orders of magnitude more than in the Linux kernel repository). 25 thousand developers contributed 16 thousand changes daily, with additional 24 thousand commit operations by bots. Read requests each day are measured in billions.[6]

#

2016

humble mortar
#

google literally reinvented old svn style takeout systems ontop of git

#

genuine insanity and not the good kind

cyan flame
humble mortar
#

i wonder how large a one layer deep clone would be

#

without all the history

teal stump
simple groveBOT
scenic hollow
#

this is also related to capturing mouse button stuff

#

also rewrote the whole ui lol

#

SOMEONE PLEASE FIX MY UGLY ASS REACT CODE IDK REACT OR UI DESIGN

simple groveBOT
upper pine
#

Sorry for the inactivity on venmic - have a lot to do currently :) I've just updated rohrkabel to support coroutines (async/await) and made some general improvements.
Will work on a bigger venmic update soon :P

humble mortar
#

the thankless work continues..

upper pine
#

As always

simple groveBOT
simple groveBOT
simple groveBOT
simple groveBOT
simple groveBOT
humble mortar
#

@vernal lintel the DE might just be cooked and need the hint anyway

simple groveBOT
vernal lintel
simple groveBOT
#

Using original Vesktop, without this change, open a terminal and run

I want to add that with or without this change the window class is always going to be the same vesktop.

StartupWMClass is used by the DE to know the name of the window class of the respective app, in the case of Cinnamon, KDE and others it is used to allow pinning apps to the dock, what you said makes me think that this would change the name of the window class when that isn't the case.

KDE still lets you pin t...

simple groveBOT
simple groveBOT
simple groveBOT
vernal lintel
#

why does it make it capitalised

sour muralBOT
vernal lintel
#

As name, but allows you to specify a product name for your executable which contains spaces and other special characters not allowed in the name property

#

????

#

closed by stalebot

humble mortar
#

yop

#

it uses product name

#

so insane

sour muralBOT
# vernal lintel dude https://github.com/electron-userland/electron-builder/blob/c544abf1d7ada6d5...

LinuxTargetHelper.ts: Lines 136-141

// https://askubuntu.com/questions/367396/what-represent-the-startupwmclass-field-of-a-desktop-file
// must be set to package.json name (because it is Electron set WM_CLASS)
// to get WM_CLASS of running window: xprop WM_CLASS
// StartupWMClass doesn't work for unicode
// https://github.com/electron/electron/blob/2-0-x/atom/browser/native_window_views.cc#L226
StartupWMClass: appInfo.productName,
vernal lintel
#

why productName

#

are they stupid

humble mortar
#

their comment said theres no one size fits all

#

which is fair ig

vernal lintel
#

literally not true

humble mortar
#

dumb ass default tho

vernal lintel
#

In what scenario would you want the wm class to be the product name instead of the binary name

#

never

#

we should pr fix to it

humble mortar
#

the wmclass and binary name can be different

#

in fact by spec they should be

#

binary name of vesktop and class of dev.vencord.Vesktop

#

but nobody cares about the spec

#

hop on doing wtfyw

vernal lintel
#

but startupwm class has to match the desktop file name

#

either that or binary name idk this stuff is confusing

#

but product name is the worst possible default lmao

humble mortar
#

dev.vencord.Vesktop.desktop can launch vesktop just fine

vernal lintel
#

should i pr and change it to name

#

from productName

#

so there's a saner default

humble mortar
#

productName is supposed to be dev.vencord.Vesktop I assume I think

#

name would then be Vesktop

#

so by spec its correct

#

but by convention ๐Ÿ˜ถ

#

i think they'd reject that pr on grounds that it'd break people who are actually following spec

#

how do you even change the wmclass that vesktop uses

#

does electron even let you

vernal lintel
#

product name is human readable name

humble mortar
#

oh so then yeah ur right

#

PR it

vernal lintel
#

i think so anyway lmao

maiden pulsar
#

@vernal lintel you love

vernal lintel
#

?

#

how's that related to this channel

maiden pulsar
vernal lintel
#

nope

#

it works fine

maiden pulsar
#

Aight

scenic hollow
#

@brazen kite btw can you try your mouse buttons with the latest commit in the pr

humble mortar
#

@vernal lintel gorp i told u about this forever ago

simple groveBOT
oblique egret
#
// Transparency fixes, window is resizable when fullscreen/maximized
this.mainWindow.on('enter-html-full-screen', () => {
  this.mainWindow.setResizable(false)
})
this.mainWindow.on('leave-html-full-screen', () => {
  this.mainWindow.setResizable(!this.mainWindow.isMaximized())
})
this.mainWindow.on('enter-full-screen', () => {
  this.mainWindow.setResizable(false)
})
this.mainWindow.on('leave-full-screen', () => {
  this.mainWindow.setResizable(!this.mainWindow.isMaximized())
})
this.mainWindow.on('maximize', () => {
  this.mainWindow.setResizable(false)
})
this.mainWindow.on('unmaximize', () => {
  this.mainWindow.setResizable(true)
})

this.mainWindow.on('will-move', (e) => {
  if (this.mainWindow.isMaximized()) {
    this.mainWindow.setResizable(true)
    this.mainWindow.unmaximize()
    e.preventDefault()
  }
})
#

some foolproof improvements for transparent window handling, enjoy

#

i couldnt fix the window snapping or the title bar dblclick to fullscreen

#

that'd require native code, cba

oblique egret
#

this code fixes a lot of said bugs

#

well, works around them

#

but same thing

humble mortar
#

guhhh electron needs to not be bad

#

or windows does

oblique egret
#

not an electron thing

humble mortar
#

transparency stuff works fine on linux

oblique egret
#

its a chromiumg thing

oblique egret
humble mortar
#

ive literally not had any issues๐Ÿ˜ญ

humble mortar
oblique egret
#

its a chromium issue

grizzled hemlock
#

Is vesktop taking forever to load a known issue

#

Recently it's been taking forever >30s to reload the page ctrl-r or from scratch

woeful current
#

(rpm)

vernal lintel
#

some people were saying it causes that

grizzled hemlock
vernal lintel
humble mortar
#

or its not caching the page correctly for some reason

#

aren't you on nixos

#

maybe no perms write to cache

grizzled hemlock
woeful current
sudden trout
#

it's not a nixos issue cuz it works for me Shrug

humble mortar
sudden trout
#

nop but we both use the same vesktop package

brazen kite
#

it doesnt work yet

#

ok so it just broke all together, actually...

#
  1. switching tabs or leaving out of the keybinds menu resets the keybind u set
#
  1. in the menu while u have it set, trying to use the keybind doesnt work
#

also, just to reiterate, none of the buttons on my mouse are detected

scenic hollow
# brazen kite it doesnt work yet

yeah i wasn't entirely sure whether it would work or not
since then i have found out mouse buttons are an entirely separate event in libuiohook :P

scenic hollow
scenic hollow
#

except it also has a warning about it :P

simple groveBOT
simple groveBOT
simple groveBOT
fallow quail
#

what's the context? i was honestly considering switching to using discord in firefox because electron font rendering is so bad lol

#

wait huh
Vesktop and Discord's official client use the same electron version now (it seems), but the latter somehow has font rendering more screwed lol
I assumed the issue was the same
the flatpak version is fine (just greyscale but still readable) but the portable is not (feels like I have eyesight problem)... ??

#

so I imagine this issue doesn't have many people complaining because it somehow depends on the environment (??) and I also imagine it's much worse at 1080p 1x scale (which I use blobcatcozy)

vernal lintel
simple groveBOT
simple groveBOT
brazen kite
#

I can try windows on the PR later

simple groveBOT
simple groveBOT
#

This PR addresses #161 by implementing a proper switch to disable automatic gain control.

  • PR #1139 attempted to solve this using WebRtcAllowInputVolumeAdjustment, but this approach is unreliable on Windows
  • PR #832 used a working approach (patching getUserMedia) but was hardcoded without UI controls

So this implementation creates a proper switch that actually disables agc on runtime. the flag used by 1139 is not reliable and does not work on windows, not sure why, ask chromium. I ...

simple groveBOT
simple groveBOT
scenic hollow
#

can someone here clone my fork and update the venbind version to 0.1.6 and see if everything works properly on x11???

woeful current
#

twitter eleven

simple groveBOT