#๐Ÿ–ฅ-vesktop-development

1 messages ยท Page 30 of 1

vernal lintel
#

we shouldn't add these flags because they might be unstable

#

there have been some people complaining about artifacts / discoloring in screenshare and I think it's because vesktop enables video hardware encoding

#

there's a reason these things are all opt in via command line flags

#

if they were fully stable and had no downsides chromium would just enable them natively

#

we can create a wiki somewhere and document these things for users but we shouldn't add them natively I think

austere wolf
#

banana

next sundial
#

like I said earlier, we can make this only for AMD on Linux, so we would be in the safe side

vernal lintel
#

no

next sundial
#

from my PoV, AMD is the "correct" base for things to be stable on Linux

#

tomorrow I'll see if there is an upstream issue for either Chromium or Electron

#

regarding h.265

austere wolf
#

thought of an epic hack so i don't have to integrate windows stuff into venmic: develop an "unrelated" package that's just for capturing application audio

humble mortar
#

@next sundial youre running in circles with known info. full vaapi needs vulkan on amd. Vaapi isnt supported on Nvidia linux.

#

all of this is on the chromium wiki and archwiki

next sundial
#

what I'm saying is to enable what is needed by default for GPUs/drivers that are stable (currently only AMD it seems)

humble mortar
#

theres no proper way to only enable vulkan on amd

#
  • additional environment vars are needed on dual gpu systems
#

its not hard for users to use google

next sundial
#

yes but it's inconvenient for users to manually troubleshoot this problem

#

imagine if the user doesn't even know about h.265 codecs

next sundial
#

maybe by checking if specific devices exist in /dev

humble mortar
humble mortar
#

like vee said a vesktop specific wiki page is the only sane choice to centralize the info

next sundial
#

hmm

#

I agree then

#

to make a wiki page regarding the flags to add

simple groveBOT
vernal lintel
humble mortar
#

its not required so if youre not using a distro that installs it explod

vernal lintel
#

should vesktop do sanity check

#

yell at you if portals aren't functional

humble mortar
#

that should REALLY be an electron feature

#

you will open feature request

#

it'd have to be a dynamic system so u can check for specific portals and not just the entire backend

simple groveBOT
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 it other than saving it in the Settings.store object when it is toggled and then check the value on the src/main/index.ts like before. If you can think of one you can tell me and I'll check it out. :P

simple groveBOT
austere wolf
#

brother switched to the OS of workarounds and says the user shouldn't have to workaround

woeful current
#

ubuntu is cancer

hot juniper
simple groveBOT
#

Discord Account

sixbreaker

Motivation

hello, I am attempting to use PREMID extension with vesktop but it's not working. PREMID allows other users to see what youtube, twitch, soundcloud, vimeo content that I am watching on my profile.

Solution

add PREMID support

Alternatives

add PREMID support in vencord/vesktop application.

Additional context

No response

Request Agreement

  • [x] I have searched the existing issues and found no similar issue
  • [x] This i...
oblique egret
#

i'd flat out go "we dont support incompetence, premid already works, its user error"

vernal lintel
#

I mean i might just close issues soon

#

and tell people to use support

humble mortar
#

maybe make a github bot that auto replies with basic info when we put a specific tag

vernal lintel
#

no just close issues

humble mortar
#

less effort to just tag than write a reply fr

spiral prairie
#

make a bot that replies basic info when you close without a message

simple groveBOT
#

Discord Account

No response

Operating System

Fedora Asahi Remix

Linux Only ~ Desktop Environment

Gnome on Wayland

Package Type

Flatpak

What happens when the bug or crash occurs?

Vesktop will start normally, then after 5-10 seconds I get a crash notification and the Vesktop window goes completely blank.

What is the expected behaviour?

This was not an issue before the most recent update. It would stay running in the background or foreground just fine without...

simple groveBOT
simple groveBOT
#

Discord Account

intracellulardark10

Operating System

Endevaour OS , Linux 6.13.5-arch1-1

Linux Only ~ Desktop Environment

Hyprland/KDE plasma

Package Type

AUR

What happens when the bug or crash occurs?

Crash happens when i am trying to click on screenshare button(not even getting to menu to choose what to share).

What is the expected behaviour?

Click on screenshare button when on call, vesktop crashes.

How do you recreate this bug or crash?

  1. Open Ves...
#

make sure you have the propper portal backends installed. xdg-desktop-portal-gtk & xdg-desktop-portal-hyprland

I checked, xdg-desktop-portal-gtk wasn't installed. I installed it, didn't help, same issue. xdg-desktop-portal-hyprland aren't installing at all(xdg-desktop-portal-hyprland: /usr/share/xdg-desktop-portal/hyprland-portals.conf exists in filesystem (owned by hyprland-git).

P.S

On i3 WM screensharing works as intendent.

simple groveBOT
simple groveBOT
#

Discord Account

vimproved

Operating System

Gentoo Linux

Linux Only ~ Desktop Environment

river (wayland)

Package Type

Flatpak

What happens when the bug or crash occurs?

Hello! This is half a bug and half a request. On systems with 16k page table sizes (like Asahi linux), sometimes electron will crash due to a hardcoded page table size (this is a known issue, see https://github.com/AsahiLinux/docs/wiki/Broken-Software). This was fixed in Chromium 133, and the fix w...

humble mortar
#

so fast

simple groveBOT
humble mortar
#

LIL bro your entire system portals are fucked

#

flatpak can't fix that

simple groveBOT
humble mortar
#

@vernal lintel veeeee lock it pleasee

vernal lintel
#

you love

#

I'm so tempted to comment "dm cookie on discord for Portal support"

simple groveBOT
#

Discord Account

intracellulardark10

Operating System

Endeavour OS , Linux 6.13.5-arch1-1

Linux Only ~ Desktop Environment

Hyprland/KDE Plasma

Package Type

AUR/Flatpak

What happens when the bug or crash occurs?

When trying to screenshare in call(server or DM),vesktop crashes.

What is the expected behaviour?

Expected behavior is to pop-up an menu to choose what to screenshare.

How do you recreate this bug or crash?

  1. Open Vesktop
  2. Join call(server or ...
#

Kinda same bug on my Thinkpad t420 with Arch, Linux 6.13.5-arch1-1 and with KDE Plasma DE

[echromum@arthur-t420 ~]$ vesktop
APPIMAGE env is not defined, current application is not an AppImage
Vesktop v1.5.5
checkForUpdatesAndNotify called, downloadPromise is null
libva error: /usr/lib/dri/iHD_drv_video.so init failed
[arRPC > ipc] listening at /run/user/1000/discord-ipc-0
[arRPC > websocket] listening on 6463
[arRPC > process] started
[2106:0305/222554.983585:ERROR:gl_surface_presentation_he...

humble mortar
#

what the fuck

humble mortar
simple groveBOT
#

Discord Account

No response

Operating System

Fedora 41 Workstation Edition

Linux Only ~ Desktop Environment

Gnome on Wayland

Package Type

Native (rpm)

What happens when the bug or crash occurs?

I was trying to install discord-flatpak-rpc-bridge to see if I can get rich presence on flatpak applications working with the native version on Vesktop, and not only didn't work, but also broke almost all the rich presence integrations on native and AppImage apps.

I've t...

austere wolf
#

wake up, screenshare crash, invalid, sleep

humble mortar
#

nope

#

theyre just insane

humble mortar
#

im gonna explode if the script left an ipc file causing arrpc to fallback to -1

vernal lintel
#

guh

#

it doesnt work

#

github sucks

simple groveBOT
vernal lintel
#

there

austere wolf
#

fancy blobcatcozy

#

curious, can you put the link on top? or is it always secondary

vernal lintel
#

alphabetically

austere wolf
woeful current
spiral prairie
#

You should rename it to "Vesktop Developer Issue Template" and remove the empty issue

vernal lintel
#

truee

simple groveBOT
humble mortar
# simple grove

@vernal lintel the arrpc plugin does indeed explode on the asset lookup

#

im reproing it rn

vernal lintel
#

yes i know ๐Ÿ˜ญ

#

it's a vencord issue not a vesktop issue

humble mortar
#

gorp ok i thought u closed for them being insane

#

not known issue

vernal lintel
#

no them being insane

humble mortar
#

different kinds of insane

humble mortar
#

die

simple groveBOT
#

what are the logs from the terminal

estaniel@192:~$ vesktop
Checking for beta autoupdate feature for deb/rpm distributions
Found package-type: rpm
Checking for update
Vesktop v1.5.5
[arRPC > ipc] listening at /run/user/1000/discord-ipc-0
[arRPC > websocket] listening on 6463
[arRPC > process] started
Update for version 1.5.5 is not available (latest version: 1.5.5, downgrade is disallowed).
checkForUpdatesAndNotify called, downloadPromise is null
[arRPC > ipc] new connection!
[arRPC > ...
simple groveBOT
simple groveBOT
#

Content

Vesktop function and features work fine, but it takes around 1-2 GB of memory. If users are using less powerful laptops (like me), ram is going to run out very soon, especially when I'm trying to run large games and talk on discord at the same time. I have a total of 8 GB of memory and it constantly peaks over 6 GB. This issue should be solved, as the normal discord app doesn't have this issue. Thank you! I appreciate having Vesktop.

woeful current
vocal fernBOT
grizzled hemlock
humble mortar
simple groveBOT
stark falcon
tidal quarry
#

the world is healing

simple groveBOT
stark falcon
#

made it shorter, idk how to do it without hardcoding the shortcut

vernal lintel
#

it should already work out of the box

#

Cmd+Alt+I

#

Cmt+Option+I

stark falcon
#

doesnt work

vernal lintel
#

well the keybind you're registering is wrong

#

lol

#

it's not shift

stark falcon
#

i promise you that im not ๐Ÿ˜ญ

vernal lintel
#

idk what that means

stark falcon
#

im rn slamming my cmd option i buttons

#

nothing pop ups

vernal lintel
#

โŒฅโŒ˜I
Command+Option+I

#

also you should make a minimal electron reproduction example and report it to electron

stark falcon
#

ah

#

well, alrighty then

#

do i js close the pr then?

vernal lintel
stark falcon
#

no

#

lol

vernal lintel
#

then why would u close it

stark falcon
#

bcs its an electron issue and if it gets fixed itll either way get yeated

#

but its temporary

#

i yap too much

simple groveBOT
simple groveBOT
#

I looked a bit more into this and the reason why it's not working is because of an Electron bug, at least for KDE/Gnome.

electron.powerMonitor.getSystemIdleTime() should just work. There's no need for Vesktop to do anything here if things worked as intended, however there's 2 issues here:

  1. Chromium supports the KDE specific org_kde_kwin_idle and the Gnome specific D-bus API for detecting user idle time. So this won't work on any other compositors that don't support these methods, but it...
vernal lintel
#

it has nothing to do with that ๐Ÿ˜ญ

simple groveBOT
#

The reason it's not working is because it's simply not implemented in Vesktop. It would have to be ported over from Discord just like I described above

For non-Wayland platforms sure, the issue still exists that Electron can't detect user idle on Wayland. I found the issue tracking this on Electron's side https://github.com/electron/electron/issues/27912

I can't see how you intend to actually poll how long the user has been idle for.

stark falcon
# simple grove

It's not an Electron bug. I don't understand what Vesktop is doing to the keybind, though, since Cmd option I only works to close dev tools afteryou've opened them.

simple groveBOT
#

@Covkie @Vendicated It's a brand new bug in Vesktop/Vencord. It used to work until very recently.

I've narrowed it down to being cause by Rich Presence status messages that contain images.

When those are used, Vesktop/Vencord bugs out with some function reflection messages and failures to find functions.

An easy way to replicate it:

  • Install Heroic Launcher and enable its "General: Use Discord Rich Presence" option.

When it tries to send messages, you end up with this error in Vesktop's...

simple groveBOT
simple groveBOT
simple groveBOT
vernal lintel
#

how do github wikis work for letting people contribute

#

do you just send a PR

#

we should make vesktop wiki

#

๐Ÿ˜ญ

simple groveBOT
#

@TheRealFame you can "fix" it by building with an older electron version:

  • clone the repo
  • modify package.json as follows:
    {
        //...
        "devDependencies": {
            // ...
            "electron": "^28.3.3" // <-- your electron version here
            // ...
        }
        //...
    }
    
  • run pnpm package
  • install the package in the dist folder. E.g. on arch linux:
    sudo pacman -U dist/vesktop-x.x.x.tar.gz

If you are using arch you can modify the PKGBUILD for ...

simple groveBOT
humble mortar
#

Nin0dev solutions

#

@vernal lintel fire him

simple groveBOT
vernal lintel
#

can't reproduce cope

#

system issue

humble mortar
#

on gnome right?

vernal lintel
#

yes

humble mortar
#

guess it's a plasma issue then

vernal lintel
#

it's probably electron on wayland moment lol

#

im just gonna change the flatpak to not use wayland ๐Ÿ˜ญ

humble mortar
#

i can click notifs just fine on wayland with system package

#

oh thats right

#

its a libnotify issue

vernal lintel
#

works on my machine doe??

humble mortar
vernal lintel
#

flatpakker

humble mortar
vernal lintel
#

WAYLAND

humble mortar
#

anyway

#

are you high

#

vee is zooted

vernal lintel
#

nop

#

why would i be high

humble mortar
#

ok so just to clarify

#

On GNOME Wayland, Vesktop in a flatpak running on ozone wayland, you click a notification and it brings you to the message

vernal lintel
#

yes

humble mortar
# vernal lintel yes

either Gnome has a STUPID hacky workaround in libnotify or youre not running on ozone wayland

vernal lintel
#

i am

humble mortar
#

the issue is XDG desktop notification portal doesnt have callback support (so STUPID)

vernal lintel
#

ur so mad

humble mortar
#

yop

vernal lintel
#

it literally does

humble mortar
#

its limited from my understanding

sour muralBOT
vernal lintel
#

anyway works on my machine so system issue + mald + ratio

humble mortar
#

yopppp

vernal lintel
#

plasma should simply suck less if it's really a plasma issue

humble mortar
#

did you see the latest Justin trudeau image I sent

vernal lintel
#

no and I don't think I want to

#

send JD Vance images instead

humble mortar
vernal lintel
humble mortar
#

do you get the confined mode log

#

from the flatpak

humble mortar
vernal lintel
humble mortar
#

huh

#

kde portal bug?

simple groveBOT
vernal lintel
#

just don't cancel the screenshare portal prompt ๐Ÿ˜ญ

#

people are so weird

#

why do you ever have to cancel it

#

if you don't want to start a screenshare just don't click the screenshare button

humble mortar
#

i put you in a little box of hell with all the insane support issues whizzing around your head like bees

simple groveBOT
#

No. It's a system issue, just like I said. It works flawlessly on GNOME, it is likely just an issue with Plasma. There is nothing we can do, just like I said.

You can verify this by opening DevTools (CTRL + Shift + I) and running the following script to create a Notification:

new Notification("hi").onclick = () => console.log("clicked")

Clicking this Notification should print clicked to the console. If it doesn't, your System's Notification implementation is broken.

vernal lintel
#

shithub wikis are so cursed

#

cause to accept "PRs" to them we have to manually copy over edits of people

humble mortar
#

HUH?

#

can u not just edit it directly like a mediawiki

vernal lintel
#

oh wait

#

but this seems like a bad idea lmao

#

you love trolls

#

i wanna see how it looks from my side

#

just make some random change like adding shipit emoji

humble mortar
#

yop i edited

vernal lintel
#

hold on

#

do again

#

do @humble mortar @humble mortar @humble mortar

humble mortar
#

did

vernal lintel
#

I'm reporting you to github for griefing my wiki

humble mortar
#

kys

vernal lintel
#

gollum

#

oh my god

#

discord doesnt support wiki edit webhook events

#

so bad

#

why did they name it gollum ๐Ÿ˜ญ

humble mortar
#

youre gollum

vernal lintel
#

what if i made better discord github webhook

#

that supported all event types

humble mortar
#

youre insane

vernal lintel
#

why

#

I might as well make it also add support for more events

humble mortar
#

exactly

#

youre still insane

vernal lintel
#

imagine zapier webhooks but actually good

humble mortar
#

@vernal lintel can you send me dbus-monitor snippets of you sending the notification and clicking it both from system wayland vesktop and flatpak wayland vesktop

#

both on gnome ofc

#

when its in the flatpak on wayland kde the notification isnt created with an action param

simple groveBOT
vernal lintel
#

?? ๐Ÿ˜ญ

humble mortar
#

run dbus-monitor in terminal

#

run the snippet

#

click the notif

#

stop dbus-monitor

#

send me the log

vernal lintel
#
method call time=1741476192.920600 sender=:1.65 -> destination=:1.103 serial=1979 path=/org/freedesktop/portal/desktop; interface=org.freedesktop.impl.portal.Notification; member=AddNotification
   string "dev.vencord.Vesktop"
   string "libnotify-flatpak.dev.vencord.Vesktop-vesktop-4"
   array [
      dict entry(
         string "title"
         variant             string "hi"
      )
      dict entry(
         string "body"
         variant             string ""
      )
      dict entry(
         string "default-action"
         variant             string "default"
      )
      dict entry(
         string "priority"
         variant             string "normal"
      )
   ]
method call time=1741476192.920861 sender=:1.103 -> destination=:1.24 serial=1143 path=/org/gtk/Notifications; interface=org.gtk.Notifications; member=AddNotification
   string "dev.vencord.Vesktop"
   string "libnotify-flatpak.dev.vencord.Vesktop-vesktop-4"
   array [
      dict entry(
         string "title"
         variant             string "hi"
      )
      dict entry(
         string "body"
         variant             string ""
      )
      dict entry(
         string "default-action"
         variant             string "default"
      )
      dict entry(
         string "priority"
         variant             string "normal"
      )
   ]
method return time=1741476192.920916 sender=:1.103 -> destination=:1.65 serial=1144 reply_serial=1979
method return time=1741476192.927754 sender=:1.24 -> destination=:1.103 serial=11354 reply_serial=1143
signal time=1741476194.760515 sender=:1.24 -> destination=(null destination) serial=11355 path=/org/gtk/Notifications; interface=org.gtk.Notifications; member=ActionInvoked
   string "dev.vencord.Vesktop"
   string "libnotify-flatpak.dev.vencord.Vesktop-vesktop-4"
   string "default"
   array [
   ]
   array [
      dict entry(
         string "activation-token"
         variant             string "gnome-shell/Vesktop/5001-24-vendingmachine_TIME16072779"
      )
   ]
method call time=1741476194.760752 sender=:1.103 -> destination=dev.vencord.Vesktop serial=1145 path=/dev/vencord/Vesktop; interface=org.freedesktop.Application; member=Activate
   array [
      dict entry(
         string "desktop-startup-id"
         variant             string "gnome-shell/Vesktop/5001-24-vendingmachine_TIME16072779"
      )
      dict entry(
         string "activation-token"
         variant             string "gnome-shell/Vesktop/5001-24-vendingmachine_TIME16072779"
      )
   ]
signal time=1741476194.760779 sender=:1.103 -> destination=(null destination) serial=1146 path=/org/freedesktop/portal/desktop; interface=org.freedesktop.impl.portal.Notification; member=ActionInvoked
   string "dev.vencord.Vesktop"
   string "libnotify-flatpak.dev.vencord.Vesktop-vesktop-4"
   string "default"
   array [
   ]
signal time=1741476194.760948 sender=:1.65 -> destination=:1.645 serial=1980 path=/org/freedesktop/portal/desktop; interface=org.freedesktop.portal.Notification; member=ActionInvoked
   string "libnotify-flatpak.dev.vencord.Vesktop-vesktop-4"
   string "default"
   array [
   ]
humble mortar
#

AddNotification call is identical

#

kde just never emits the Action invoked event on the portal

#

but it DOES on the raw dbus which is why it works out of portal

vernal lintel
#

KDE so stupid

#

you love

humble mortar
#
#

ActionInvoked is never emitted on portal

vernal lintel
#

you will go complain in kde issue tracker

humble mortar
#

well time for bug report

#

yopppp

vernal lintel
#

probably already reported fwiw

humble mortar
#

its not afaik

vernal lintel
#

but is it plasma's fault or Flatpak KDE Runtime's fault

humble mortar
#

it'd be KDE's portal backend's fault

#

which is plasmas fault

vernal lintel
#

I wish flatpak apps didn't have 3 billion bugs

#

is appimage less scuffed

sudden trout
#

nop appimage is more scuffed but for different reasons

humble mortar
#

appimage is flatpak but worse

#

bundle all deps like flatpak but no sandboxxing

#

no permissions

vernal lintel
#

flatpak just needs a second copy (one copy for all apps)

#

appimage needs one copy for each app

humble mortar
#

yeah

humble mortar
#

@vernal lintel let me yap on locked issues

next sundial
#

which one?

#

btw, out of context: is there a way to pass --enable-features to Vesktop without editing desktop files?

humble mortar
#

@vernal lintel mainWin.show() minimizes then shows when the window is maximized

#

..,,

#

what insane logic are they doing

simple groveBOT
simple groveBOT
#

@LumpyArbuckle @tkpmonke @LilyKensa Just to be absolutely 100% sure, check your power profile if you are all on laptops. Mine was settled by automation on power save for who knows why. Slid into "Performance" and all the latency off the client was finally gone and back to normal.

This issue occurs on both my desktop and laptop, regardless of the power plan. I'm going to try manually removing ...

simple groveBOT
rotund pantherBOT
humble mortar
small lionBOT
#

Alright @humble mortar, in 8 hours: โ€ฆ

vernal lintel
#

you are insane @humble mortar

#

install shellcheck immediately

#

and never do an abomination like this ever again

#

the scripts also have quoting issues

sour muralBOT
vernal lintel
#

this will explode if XDG_CONFIG_HOME includes whitespace or other funny characters

#

it should be quoted

humble mortar
vernal lintel
#

who wrote them

humble mortar
#

way before me

vernal lintel
#

@worn harness youuuu

humble mortar
#

old aur maintainer

#

no like way way before

vernal lintel
#

okay doesn't matter who wrote them but

#

just use shellcheck to fix

humble mortar
#

dont care smile

vernal lintel
#

you should just change the shebang to bash anyway

vernal lintel
#

you're getting fired

humble mortar
#

if u have white space in your home dir you deserve to die

#

(ive been aware of the POSIX and shell expansion stuff but nobody's complained so I havent cared ๐Ÿ˜€)

#

I'll fix cause that guy wants me to

#

yippe

#

@vernal lintel why specificy exact pnpm version on package.json it makes my life so annoying

#

i hate corepack

#

i hate software

#

I'm deleting my computer

#

@vernal lintel grabbed

vernal lintel
#
pnpm install --frozen-lockfile --config.package-manager-strict=false
#

or to do it for everything:

echo "package-manager-strict=false"  >> .npmrc
humble mortar
#

STUPID STUPID

#

obscure args that fix my problems

#

(if I test and it doesnt fix I'll kill you btw)

#

see you in like 7 hours..

#

OUCH

#

i dropped my phone on my face

#

its all crumbling down

vernal lintel
#

why are you even blaming me ๐Ÿ˜ญ

#

this is a pnpm & corepack issue

humble mortar
#

i need someone to yell at and youre right here

#

I'm abusive

#

you made me full of hate

vernal lintel
#

waittt

#

pnpm removed the strict check in 9.2.0

humble mortar
#

ive been getting version errors on v10

#

I'll show logs later

#

ok bye veee ๐Ÿ˜ญ

humble mortar
#

sigh...

#

guh the code comment says exact match

#

idk what to believe

#

i will test

#

?remindme 7h

small lionBOT
#

Alright @humble mortar, in 7 hours: โ€ฆ

simple groveBOT
small lionBOT
#

@humble mortar, <t:1741838389:R>: โ€ฆ

worn harness
#

cookie so silly

small lionBOT
#

@humble mortar, <t:1741846018:R>: โ€ฆ

worn harness
humble mortar
#

guhhhhhhhhhh

humble mortar
#

?remindme 48h remember to do the pkgbuild stuff

small lionBOT
#

Alright @humble mortar, in 2 days: remember to do the pkgbuild stuff

woeful current
#

whats this woke thing

simple groveBOT
simple groveBOT
#

I think I have the same problem, on Gentoo using GNOME DE, flatpak version of the app. If I click on the notification, vesktop minimizes and a new notification "Vesktop is waiting" pops up. Clicking on it brings the window back.

Also, when starting the window is shifted left and up slightly, about half of a title bar. I have multiple monitors, so it creeps onto them. Goes away if I switch focus to another window.

Also, sometimes the whole UI becomes scaled up and it seems to be attempting t...

simple groveBOT
simple groveBOT
#

This is an electron issue. For some reason when maximized the mainWin.show() call minimizes then shows the window, Some check is returning wrongly.

When under x11/xwayland the vesktop window can show itself (the minimize then maximize right after behaviour) but under Wayland it can't show itself when minimized. Due to Wayland's security model, it can only demand attention when minimized, giving you the only hide behaviour.

I haven't gotten around to reporting this to upstream. so if some...

rotund pantherBOT
small lionBOT
#

@humble mortar, <t:1741906417:R>: remember to do the pkgbuild stuff

worn harness
#

@humble mortar

vernal lintel
#

@humble mortar

humble mortar
#

gonna lock you up in prison

vernal lintel
#

cooki so lazy wont do pkgbuild stuff

humble mortar
#

no more woke

#

mb I'm crashing out

#

@vernal lintel teleport my laptop to me

worn harness
humble mortar
#

only if you bring my laptop

#

Fuckkk

#

my aur key is on my laptop

#

sutupud

#

i can't even do it from termux if I wanted

worn harness
#

I arrive Soon

humble mortar
#

i can do tmrw morning

#

i think I won't bump the pkgrel since existing builds won't need to rebuild

#

only new users

woeful current
vernal lintel
#

guhhh it failed

#

okay now

#

๐Ÿ˜ญ

humble mortar
#

vee..

vernal lintel
#

WRONG CHAT

humble mortar
woeful current
#

guhhlf of America

simple groveBOT
hasty pewter
#

wait seriously

#

uh oh

#

hm

#

well we could disable the app menu
i dont think its even used

#

Menu.setApplicationMenu(null)

vernal lintel
#

fym its not even used

#

it's responsible for all keybinds

#

and there's an option to show it

hasty pewter
#

oh is it

#

guh

vernal lintel
#

xd

#

anyway

#

it's in mainWindow

hasty pewter
#

guh i hate electron

vernal lintel
#

you can add an invisible accelerator

#

that does nothing

vernal lintel
#

standard application stuff

vernal lintel
hasty pewter
#

yeah im looking

hasty pewter
#

id remove it altogether
seems pretty useless

hasty pewter
vernal lintel
#

idk

#

does zoom still work

hasty pewter
#

is there a shortcut
cause the button doesnt do anything

vernal lintel
#

no

#

it would say so

#

ig its useless then

hasty pewter
#

oki ill remove then

simple groveBOT
humble mortar
vernal lintel
#

horror

#

why did they name it social sdk

#

bros really think it's gonna be the same as xeeting from your ps3

humble mortar
#

5 billion years of deprecated gamesdk just to rename it

#

GUH THEY WANT VOICE STUFF IN THEBGAME ITSELD

#

overlay is so dead

#

arrpc will never support...,,

vernal lintel
#

lmao

#

doesn't steam have something for that too

#

why would they use discord over steam

humble mortar
#

fortnite refusing to be on steam:

vernal lintel
#

I doubt people want to link their discord to random games lol

#

unless it's seamless ig

humble mortar
vernal lintel
#

horror

#

idk if this should even be a goal of vesktop

humble mortar
#

steam overlay is actually good gurgg

vernal lintel
#

its goal was never to 1:1 reimplement Desktop app

humble mortar
humble mortar
#

scanning should always be a specific reimplementation so discord doesnt have a complete list of processes on the computer

#

but IPC and Web sockets should be direct so discords code can do its shit

#

I'll probably never finish it anyway fr

humble mortar
#

I NEVER PUSHED TO THE REPO HORROR

#

oopsies

rotund pantherBOT
humble mortar
#

@vernal lintel should I add a .install file so the packages can tell the user about the args config after they install or maybe add a log to the startup script that says "checking for args at ..x"

#

also could .pacman generation be enabled in electron builder so a sane -bin package can be brought in

humble mortar
#

actually horror

#

why does github not use the primary email when doing stuff through the gui

rotund pantherBOT
simple groveBOT
#

This is the main thing preventing me from switching from flatpak's com.discordapp.Discord to pretty much any other solution, so it would be really nice to have this done and not have to think about libunity ever again. What's holding it up at the moment?

@Covkie

Yeah electron fixed (removed) their desktop env checking for the libunity dep. I still think this PR is relevant tho as libunity is old and many distros don't package it anymore. It should be dropped in favour of dbus communica...

#

What's holding it up at the moment?

A giant dep thats used for a realistically tiny feature, Electron should really replace the dep itself. I've been slowly familiarizing myself with the Electron codebase so i hope to PR it myself :p

This is interesting, and doesn't match my experience, but would definitely be convenient if true.

idk if Discord has updated to the electron version with the needed DE agnostic patch https://github.com/electron/electron/pull/41211

hasty pewter
#

one line change

vernal lintel
humble mortar
vernal lintel
#

yeah but

#

the script is essentially broken

humble mortar
#

yeah but

vernal lintel
#

if someone changed their posix shell to dash

#

the package is broken for them

humble mortar
#

they will see it exploded and go check the package and see its been updated but not tagged

#

they will then rebuild

#

the two users who switch to dash vs the 20 morbillion who are just fine

#

if youre changing your shell you can do 2 seconds of googling to confirm the problem and fix it

#

also you shouldnt change your root shell anyway

#

kinda insane

vernal lintel
#

dash is a lot faster than bash

humble mortar
#

u can change out bash

#

i mean changing sh

vernal lintel
#

yes

#

#!/bin/sh = i want any posix compliant shell

#

dash is posix compliant

#

changing to dash is not a bad idea

#

some distros use dash

#

ubuntu uses dash for example

humble mortar
#

i thought it was like a standard sh impl

#

guh ive never looked

#

i have got to stop saying guh

#

@worn harness brain infection

hasty pewter
#

btw if launching vesktop in --start-minimized with tray icon off there's no indication that vesktop is even running at all
i wanna make it show tray icon until first showing the window, regardless of the tray setting when launching in --start-minimized

#

sound good?

worn harness
humble mortar
#

yeah should def do that

#

does having the tray disabled also prevent the close to tray functionality

hasty pewter
#

yes

worn harness
#

yes

humble mortar
#

zop

worn harness
#

cookii

simple groveBOT
humble mortar
#

i love passing around state

hasty pewter
#

yop

humble mortar
# simple grove

@hasty pewter client side window controls seem to be missing proper resize tags on the edges or something

#

meaning you can't resize from the edges which is expected

humble mortar
hasty pewter
#

huh

#

i love how like 80% of the issues are because of linux

rancid geyser
#

how will this affect vesktop development

#

and no i cant โค๏ธ

#

i dont use it really so its dead

hasty pewter
#

bleh

rancid geyser
#

mimimii

#

if you fix it you can pr

#

โค๏ธ

hasty pewter
#

gu

rancid geyser
#

wtf even is that error... absolute husk

hasty pewter
#

lol yeah it looks so cursed

rancid geyser
#

they dont pay me enough to care

hasty pewter
#

i cant seem to figure out how the stock client handles zooming
there's a flux event handler for ACCESSIBILITY_RESET_TO_DEFAULT that supposedly handled ctrl+0 for zooming out but literally no emitters

#

okay this seems to be partially responsible??
idk why it uses mod+plus, it should work as mod+equals

#

guhhh this is so bad

hasty pewter
#

@vernal lintel i integrated zooming into client like on stock but i had to get rid of this menu cause it was interfering with the new accelerators
what do i do

#

i could reimplement the menu manually

vernal lintel
#

wdym?

#

I'll have to check ur code tomorrow to understand

hasty pewter
#

custom accelerators should override the ones from the template viewMenu

vernal lintel
#

whats wrong with the old zooming

#

what's different

hasty pewter
#

this calls into discord to also set internal state

#

because the stock app also has a scale slider in settings thats disabled on web

vernal lintel
#

if u wanna go that route

#

nini

hasty pewter
#

nini

#

one sec

simple groveBOT
hasty pewter
#

there look @vernal lintel

simple groveBOT
#

The code triggering this seems to have changed a bit since this issue was created, but it seems to partially be caused by arrpc outliving the main browser window:

https://github.com/Vencord/Vesktop/commit/c9be6181644a329ce6556c49186e56e2b7d5e8e2#diff-53486cd162d85eb4faf85f2b936105851979cd772b7be0b7bc48ae85efbbb9e9L22-R22

(it uses mainWin to send an IPC event after it's been destroyed)

hasty pewter
simple groveBOT
simple groveBOT
vernal lintel
#

๐Ÿ˜ญ

iron cedar
#

Horror

simple groveBOT
#

Fixes #808

The code triggering this seems to have changed a bit since this issue was created, but it seems to partially be caused by arrpc outliving the main browser window?
https://github.com/Vencord/Vesktop/commit/c9be6181644a329ce6556c49186e56e2b7d5e8e2#diff-53486cd162d85eb4faf85f2b936105851979cd772b7be0b7bc48ae85efbbb9e9L22-R22
(arrpc server tries to use mainWin to send an IPC event after it's already been destroyed?)

simple groveBOT
grizzled hemlock
#

is there any reason this doesn't also set location.href so you dont have to restart vesktop to change branches

vernal lintel
#

it's easier and more consistent to just require a restart

simple groveBOT
#

I'm not sure why, but in Plasma on wayland it opens instantly for me, but if I am in hyprland using waybar, it is extremely delayed to the point that it's faster to entirely restart vesktop.

It's weird, I replicated the issue in a virtual machine too on a different distro. Not sure what's going on but I think I will stick to the older version for as long as it works and then hopefully by the time I switch on over everything is fixed.

I'm using KDE Plasma 6.3.3 on X11 with version 1....

simple groveBOT
simple groveBOT
humble mortar
#

@vernal lintel what does that experiment actually change

#

Veeeeee ๐Ÿ˜ญ

vernal lintel
#

just like visual refresh titlebar

hybrid fjord
#

Btw do you guys aware of a bug when you start screen share -> close portal's picker and vesktop crashes?

vernal lintel
#

yes

#

electron moment

simple groveBOT
simple groveBOT
vernal lintel
#

do u have windows @humble mortar

vernal lintel
humble mortar
vernal lintel
humble mortar
#

ok send me money

vernal lintel
#

WDYM SEND YOU MONEY

humble mortar
#

im so stupid i just spent like 10 mins wondering why my ssh key wasnt working but i forgort to add a host override for the key

simple groveBOT
#

"Guys, please don't be annoyed about a core feature not working and fix it yourself" - Collaborator with nearly 500 people paying them

Please refrain from leaving toxic replies or you will be blocked. Being annoyed is okay, spamming our issue tracker with useless replies isn't.

These projects are only a hobby for me, I am not even close to making a living from sponsorships. You are welcome to pay me a competitive wage if you would like me to work on it full time! :)

Electron's screensh...

vernal lintel
#

why do some people feel so entitled lmao

#

uses software completely free of charge
"nooooo you have to fix my issue NOW.... lazy dev smh!!"

#

guh easyeffects has audio stuttering when a new source starts playing @humble mortar

#

pr fixes

humble mortar
#

whats easyeffects

vernal lintel
#

pulseffects but easy

humble mortar
#

whjats pulseeffects blobcatcozy

vernal lintel
#

youre so dumb oh my god

vernal lintel
sour muralBOT
vernal lintel
#
- if (choice.audio && process.platform === "win32") streams.audio = "loopback";
+ if (choice.audio && process.platform === "win32") streams.audio = "loopbackWithMute";
#

oh yeahhh

#

chromium implemented loopback on linux

#

did anyone ever test if it works in electron

simple groveBOT
humble mortar
#

oh no way

#

that makes it slightly usable

vernal lintel
#

love how the difference between loopback and loopbackWithMute isn't documented anywhere whatsoever

#

so idk if loopbackWithMute is the fix

#

when you Google it you find chromium source code lmao

simple groveBOT
vernal lintel
#

actually i wonder if there's an artifact quota

#

oh yeah there is for private repos but I think it's unlimited for public repos

simple groveBOT
humble mortar
#

compile Vencord

humble mortar
#

@vernal lintel one line kde oversight preventing default-action ActionInvoked signals

#

you loveeee

#

it wanted default-action-target even thought its optional

#

oopsies :p

simple groveBOT
vernal lintel
#

what ๐Ÿ˜ญ

simple groveBOT
simple groveBOT
#

Content

It appears that if a config file such as ~/.config/vesktop/settings/settings.json is a symlink (or a containing folder), vesktop refuses to load it (it loads a blank/default config instead)

To reproduce, just change a setting, move ~/.config/vesktop/settings/settings/settings.json somewhere else, symlink it back into the right place, then restart vesktop. It doesn't load.

hybrid fjord
humble mortar
#

I'm fairly certain readFileSync can handle symlinks

vernal lintel
#

yeah it should

#

this guy is probably using flatpak and symlinked a file it can't access

humble mortar
#

wait they didnt follow the issue template

#

๐Ÿ˜Ÿ

vernal lintel
#

it also yells at you not to

#

which that person conveniently ignored

humble mortar
#

is anyone gonna comment asking for bro to fill out the issue template

vernal lintel
#

no

#

I'm gonna see if he's true and if he isn't I'm gonna close it

humble mortar
simple groveBOT
simple groveBOT
cyan flame
simple groveBOT
simple groveBOT
#

Content

Discord Account

isaiah.sh

Operating System

Arch Linux

Linux Only ~ Desktop Environment

Hyprland on Wayland

Package Type

yay/pacman (AUR)

What happens when the bug or crash occurs?

vesktop used to launch without issues, recently it crashes immediately.
vesktops ozone platform is trying to use an X server (via X11) but isnโ€™t finding one that meets its requirements, even though Xwayland is running and $DISPLAY is set

When I run vesktop with the f...

simple groveBOT
humble mortar
#

@vernal lintel im going insane people yapping about vesktop CSD window buttons missing on visual refresh...,

vernal lintel
#

yes need to fix

humble mortar
#

REVIEW THE PR THAT FIXES IT!!11!
!

#

inject you with juice that makes your review prs

#

you will give me repo perms

simple groveBOT
humble mortar
# simple grove

@vernal lintel those patch changes are for the generic window control stuff, CSD still works on non visual refresh

vernal lintel
#

yes?

humble mortar
#

so the old patches are fine to remove..,.

vernal lintel
#

no

humble mortar
#

what ๐Ÿ˜ญ

#

im using that pr rn

#

it works on visual refresh and not

vernal lintel
#

okay now enable this

humble mortar
#

yeah it works

#

wdym ๐Ÿ˜ญ

vernal lintel
#

okay now try clicking the window buttons

humble mortar
#

yop they work

#

AH

#

they close button killed vestkop

#

instead of going to tray,,,zz

#

other than that it works

vernal lintel
#

how

humble mortar
#

ur insane about the patches

vernal lintel
#

literally not possible lmao

humble mortar
#

CSD close button

vernal lintel
#

dude

#

Discord Titlebar

humble mortar
#

ok anyway

#

the PR's patches changes work

#

youre insane

vernal lintel
#

oh I see

#

he changed where it's patching

humble mortar
#

ypoo

vernal lintel
#

so it covers both

humble mortar
#

@vernal lintel hiiiii

humble mortar
#

GUH WRONG CHANNEL

vernal lintel
#

the old patch patched the NativeCrap.window.close() call in the component so it only applied to the component

#

His PR instead patches the DiscordNative.window.close() so it applies everywhere

#

that's where the confusion comes from

humble mortar
#

veeb doesnt read PR descriptions

#

wait its almost 1am for u

#

go to sleep ๐Ÿ˜ญ

#

idot

vernal lintel
surreal agate
# simple grove

i saw ctrl + w and i instantly pressed it without reading anything else

#

๐Ÿ˜ญ

simple groveBOT
simple groveBOT
humble mortar
simple groveBOT
vernal lintel
#

no ๐Ÿ˜ญ

#

they're gonna remove it on linux and web soon enough once enough people complain

#

this is just them not testing at all on those clients

humble mortar
#

well if theyre gonna remove/fix it thats even more of a reason to have it as a vencord plugin ๐Ÿ˜ญ

#

vesktop updates arent fast like that

humble mortar
# simple grove

also the whole visual refresh insane spacing and bad contrast looks like shit

vernal lintel
#

wow our code that removes the titlebar doesnt work anymore because discord removed it

#

whatever will we do

humble mortar
#

no dingus if it breaks or changes

#

also exploding the inbox would be an insane choice

#

moving it would make more sense

#

but then that wraps around to it should be a vencor plugin so desktop users can not suffer too

vernal lintel
#

nop

humble mortar
#

i think you have brainworms

#

youll be getting people asking where the inbox is on vesktop

simple groveBOT
#

I am also having this issue. When I start it freshly it behaves normal, but when it's already started and I try to open the window it takes up to 30 seconds to open. Doesn't matter if I try to open the window from waybar or rofi. I've tried both the flatpak and the AUR bin version and they both behave the same, I am also using running electron in wayland mode. I am using arch linux, Hyprland and am on a Nvidia gpu.

simple groveBOT
humble mortar
#

vee will give me issue lock perms

humble mortar
#

@vernal lintel gorp still no stable electron builder tag with the Ubuntu apparmour fix

vernal lintel
#

love

#

people will finally stop using ubuntu the world is healing

vernal lintel
#

this is how easy it is to introduce a severe vulnerability btw @humble mortar

#

you're sending the entire ipcRenderer object back

#

in the old code

humble mortar
#

oh

#

INSANE

#

,,,.

vernal lintel
#

cause arrow functions implicitly return the value and ipcRenderer.on returns ipcRenderer for chaining, so you can do like

ipcRenderer
  .on("Event1", handler1)
  .on("Event2", handler2);
#

that's why I asked you to change it to a normal function

humble mortar
#

i'm pretty sure w hat i had before was straight from the main->renderer preload docs

vernal lintel
#

yes ๐Ÿ˜ญ

#

wtf electron

#

well the severity of it depends on your own code

#

the problem with that is that you can send arbitrary events

#

which might or might not be bad

#

but even Electron docs warn you against exposing ipcRenderer

humble mortar
simple groveBOT
simple groveBOT
#

Even when trying to press Cmd option I, it doesnโ€™t work; it does manage to close dev tools if you alrdy opened it via View -> Toggle Dev Tools. I chose Cmd Shift I because I came from Windows, and itโ€™s muscle memory atp, doesnโ€™t really matter since itโ€™ll probably fix itself in the next update, but https://github.com/electron/electron/issues/45925 says itโ€™s not necessarily an Electron issue and something that Vesktop does to interfere. Either way, when youโ€™ll bump the Electron version for Vesk...

humble mortar
#

real shit can we fork arrpc for our patches so next vesktop tag has auto db updating @vernal lintel

#

not a full fork just for patches so we aren't reliant on duckos schedule

simple groveBOT
scenic hollow
#

ok so i'm trying to solve this
should i just call the preregister function on every start up on hyprland
as in i'd have to check to see if vesktop is being ran on hyprland then run preregister
my main concern is that this is kinda ugly and annoying but i also doubt if i ask any of the hyprland people to fix it they actually will do anything

#

or i make an issue on kde's side about making the shortcuts page not show up every time bindshortcuts is called

humble mortar
#

you should be doing that anyway

#

check if all shortcuts exist and if not register them all

#

if you try to register an id again intelligent impls will just ignore it

scenic hollow
#

pretty sure kde doesn't

humble mortar
humble mortar
#

& theres PR in the works that overhauls the UX of registering shortcuts

#

Every startup check if all ids are registered with ListShortcuts, if even one is missing you call BindShortcuts with every shortcut

#

ok igtg

scenic hollow
#

kde ignores in the sense that it doesn't make a new one but my main point (and the reason i've made it call bindshortcuts when the keybinds settings page is opened) is that it still opens the keybinds settings page anyways

scenic hollow
simple groveBOT
humble mortar
#

also BindShortcut ids being simply numerical is bad..

#

impls use that to distinguish binds

#

if u remove 5 6 becomes 5 then everything explodes (descriptions dont match and kaboom)

#

Splash hangs on BindShortcuts and waits for it to return

#

TOGGLE_CAMERA is missing its readable description/included

#

this should be a whitelist i think

scenic hollow
humble mortar
#

are the shortcuts working on kde for u?

#

they dont for me

scenic hollow
#

yeah

scenic hollow
humble mortar
#

ashpd-demo and my own python impl work just fine

#

yeah thats the log

scenic hollow
#

everything works on kde for me
could it be it doesn't have an app_id??

humble mortar
#

it does

#

i'm using a devbuild of the kde portal but that shouldnt be an issue

scenic hollow
#

hmm

humble mortar
#

the spec is still the same

#

systemd-run --user -u app-vesktop@a8sf148gfhg pnpm --prefix /mnt/Bucket/Git/Vesktop/ start --ozone-platform=wayland launched like this

#

so its in its unit for portal identification

#

just like how plasma launcher does it

#

the events are firing

#

how do i look at what venbind is doing

#

is there a debug env var

scenic hollow
#

there is a bit about the bindshortcuts and listshortcuts in this log you sent i'd assume it's doing what it's supposed to??

humble mortar
#

yep

scenic hollow
humble mortar
#

i assume it also hangs on ListShortcuts but its too small to notice

#

it ssomething between the Activated and Deactivated signals and action in the client

humble mortar
scenic hollow
scenic hollow
humble mortar
#

vesktop splash

scenic hollow
#

it shouldn't be getting called when splash is happening pretty sure???

humble mortar
#

yop works

#

that has been running for 60 seconds is cause i left the new kde dialog open

scenic hollow
scenic hollow
#

uwsm app -a vesktop -- pnpm start:dev

humble mortar
#

yeah no

#

i tried launching straight through plasma launcher

#

its not an appid issue

#

venbind?.startKeybinds((id, keyup) => {
mainWin.webContents.executeJavaScript(Vesktop.triggerKeybind(${id}, ${keyup}));
});

this callback isnt happening

#

im using the latest commit on ur PR branch

#

ok i just reverted the test kde portal branch i was on

#

it works now

#

ur not doing something in spec

#

only venbind is breaking on that branch

#

ashpd and my python demo work just fine

scenic hollow
humble mortar
#

yeop

#

ListShortcuts and BindShortcuts THROUGH VESKTOP work (hangs the thread tho which should be changed) work

#

Activated and Deactivated signals break through vesktop

#

ok igtg sorry i cant debug more

scenic hollow
humble mortar
scenic hollow
#

ohh

humble mortar
#

ok bye

#

gl

simple groveBOT
simple groveBOT
humble mortar
#

@scenic hollow it might be worth it to implement the xdg host app registry api

#

to stop the reliance on systemd units

simple groveBOT
floral ledge
#

was coming in here to say this

#

since its officially in xdg no point in not implementing it

#

and its in ashpd

scenic hollow
#

ok so trying to use registry and i get Could not register app ID: Connection already associated with an application ID except when the shortcuts page shows up it's named token_ashpd_blabla which means there is definitely no app id???

scenic hollow
#

apparently that registry function has to be called before anything else including create_session
also the app id you choose is actually supposed to be the name of a .desktop file you've got. i didn't know that

humble mortar
#

yea

#

youll have to check if the env is flatpak or not

#

flatpak .desktop is dev.vencord.Vesktop

#

non is just vesktop

#

i think the container env var is set if its in a flatpak

sour muralBOT
scenic hollow
sour muralBOT
# scenic hollow i mean yeah apparently that's what is_sandboxed is https://github.com/bilelmouss...

lib.rs: Lines 58-64

/// Check whether the application is running inside a sandbox.
///
/// The function checks whether the file `/.flatpak-info` exists, or if the app
/// is running as a snap, or if the environment variable `GTK_USE_PORTAL` is set
/// to `1`. As the return value of this function will not change during the
/// runtime of a program; it is cached for future calls.
pub async fn is_sandboxed() -> bool {
simple groveBOT
austere wolf
#

i feel like i could get a binary working that could improve windows screenshare but my bandwidth is taken up by other things

#

you could probably make it obs-like with enough effort but then iโ€™d have to maintain it husk

simple groveBOT
tidal quarry
#

@vernal lintel would you want vesktop on brew? since its notorized and signing isn't an issue, I think it would be nice for it to be on there

#

I already made something for brew for it (this is my fork)

#

hopefully it should require little maintenance considering brew also supports livechecking from the latest yml

#

theres also taps, if you rather not have it be on the main homebrew cask repository

simple groveBOT
#

Content

I've been using Discord as a service in Ferdium for a long time, but I'm now trying to switch to Vesktop because of its many great extra features. However, one thing that's been bothering me is the lack of a notification system in the tray.

In Ferdium, when I receive a private message or a ping in an unmuted channel, the tray icon changes to indicate a notification. Vesktop, on the other hand, doesn't have this feature, and I really miss it.

Another issue with the tray icon is ...

humble mortar
#

what the hell is ferdium

simple groveBOT
#

I'm on Vesktop 1.5.3 and Windows 11, and experiencing same issue, at least symptomatically Streaming through official client has no issues

same for me on 1.5.5 vesktop

i'm trying to stream 1080@60 or even 720@30, the result is same, fps is staying at 15-20 but when i'm going to run/walk/whatever, it's gonna drop to 4fps.

windows 11, build 22631.3737
hw acceleration is enabled in vesktop
game is not matter. for example, Kingdom Come: Deliverance II
cpu: r7 2700
gpu: rtx 3070

and ...

#

Btw, I don't think this is a duplicate of #667. That issue is about user customizable assets. I'm not asking for user customizable assets. I'm asking for changes to the default icon, or a toggle to turn the icon monochrome (like in Telegram). I don't want the user to input a custom icon. I'm also asking for a notification state icon. The other issue is about customizing the icon and startup splash with user provided assets. I have no interest in that.

woeful current
humble mortar
simple groveBOT
simple groveBOT
simple groveBOT
#

this works for me:

vesktop --enable-features=CanvasOopRasterization,VaapiVideoDecoder,UseChromeOSDirectVideoDecoder,VaapiIgnoreDriverChecks,PlatformHEVCDecoderSupport,Vulkan,DefaultANGLEVulkan,VulkanFromANGLE

This doesn't work for me. Whenever I try to play a video (or just load an animated gif) the entire application flashes blank for a while and I get this in my journal:

[185280:0330/161815.249653:ERROR:gpu_service_impl.cc(1162)] Exiting GPU process because some dri...
simple groveBOT
simple groveBOT
simple groveBOT
woeful current
scenic hollow
#

@humble mortar didn't you suggest changing the cli design at some point

#

it does already do this one on XDP i thought you mentioned another thing too???

#

that's the one nvm

simple groveBOT
simple groveBOT
simple groveBOT
#

Content

https://github.com/Vencord/Vesktop/pull/813

According to the guys at the support channel this is not possible.
Disabling experiment Desktop_Deeplinks doesn't work.
and I want to be able to change behaviour of the app.

My use case:
I have different account and on browser and different my main account on Vesktop app. I don't want Vesktop app to ask me joining as my main account.

humble mortar
#

it should be internally tracked

#

by default anyway

#

like --trigger=id (optional --type=up/down)

scenic hollow
#

i'm writing it so it's keyup by default unless specified

scenic hollow
#

and here --keybind=id means up by default

humble mortar
#

so I think --keybind should internally track state

#

otherwise users would need a script to do that

scenic hollow
#

on the other hand i think if someone used it they wouldn't expect to also have to call it again for keyup

humble mortar
#

well if its up by default running it wouldn't do anything

scenic hollow
#

i think most things work on up actually

humble mortar
#

hm idk

#

there is no up/down when dealing with commands

#

its only a state switch

#

if the bind is a single event it'll simply trigger that

#

but if its toggle mute or something

#

or push to speak

#

oh @scenic hollow did u figure out what was happening with events on the kde portal pr

humble mortar
#

like for multiple vesktop instances?

scenic hollow
#

if it was so that a state is toggled on keybind it would have to be called twice so it's actually triggered (for example in someones wm config it would have to be vesktop -- --keybind=id && vesktop -- --keybind) cause most things only trigger when upped
unless we make the cli figure that out itself which is harder i think

humble mortar
scenic hollow
scenic hollow
scenic hollow
humble mortar
#

having it do up is fine for all the toggle ones but push is a different story

scenic hollow
#

maybe we could check that and then decide if we should state switch or not

#

still i think that would still be useless i don't know if we can even make any wm/de trigger the cli on keyup AND keydown

simple groveBOT
humble mortar
#

no wms I know of have up down events on command binds

#

but the state still needs to be swapped internally so only one key is needed

scenic hollow
#

like i don't think there is any reason to implement that if it's not even gonna be normal
it's probably not that hard to write a shell script for this if that's what someone really wants

humble mortar
#

m fair

#

alr that works

scenic hollow
#

ok trying the new xdp-kde pr and i think the reason why it gets stuck on the splash is because when preregister is triggered (which you'd think happens when the full page is open but apparently not??) BindShortcuts isn't actually completed immediately (which it currently does) because the cancel button there has to work properly

#

i'm yet to find out why the actual keybinds don't work tho

humble mortar
humble mortar
scenic hollow
#

uhh @humble mortar which keybind were you testing exactly??