Code Monkey home page Code Monkey logo

Comments (22)

ouwou avatar ouwou commented on June 19, 2024 1

ok i think i see what's going on. should have it fixed soon 🤞

from abaddon.

ouwou avatar ouwou commented on June 19, 2024 1

you wont experience the issue there because voice support wasnt merged in yet (which brought in the spdlog dependency). the package on ubuntu afaik is libspdlog-dev. if you still have issues id rather you open a new issue for it

from abaddon.

ouwou avatar ouwou commented on June 19, 2024

as in a right click option? or as in the ability to highlight certain text and copy? if you want a right click option, "content" is a little ambiguous since embeds have a description, title, header, footer, fields, etc.

from abaddon.

KaKi87 avatar KaKi87 commented on June 19, 2024

as in the ability to highlight certain text and copy?

Yes.

from abaddon.

ouwou avatar ouwou commented on June 19, 2024

does it even let you highlight and copy regular messages? i think this might be a general gtk thing

from abaddon.

KaKi87 avatar KaKi87 commented on June 19, 2024

does it even let you highlight and copy regular messages?

Yes, it does !

from abaddon.

ouwou avatar ouwou commented on June 19, 2024

looks like theres some weird platform-specific gtk stuff going on... i guess you can copy normal messages because they are Gtk.TextViews but not embeds because theyre generally composed of Gtk.Labels. ill have to look into it some more

from abaddon.

KaKi87 avatar KaKi87 commented on June 19, 2024

Actually, I realize I can't copy selected content of normal messages either.

Nor select content of multiple messages simultaneously.

from abaddon.

ouwou avatar ouwou commented on June 19, 2024

are you on windows?

from abaddon.

KaKi87 avatar KaKi87 commented on June 19, 2024

No, I'm on Linux.

from abaddon.

ouwou avatar ouwou commented on June 19, 2024

ff47134 should make embeds selectable. regular messages are still behaving strange for me and only let you copy if you triple click to select all but let me know how it works on your end

from abaddon.

KaKi87 avatar KaKi87 commented on June 19, 2024

Same.

Also, I can't copy embed titles, nor select title and body simultaneously.

from abaddon.

ouwou avatar ouwou commented on June 19, 2024

ill look into the titles. fundamentally i dont think theres any way to allow for selections across both title and body simultaneously since they are two distinct widgets

from abaddon.

KaKi87 avatar KaKi87 commented on June 19, 2024

fundamentally i dont think theres any way to allow for selections across both title and body simultaneously since they are two distinct widgets

There must be a way for a native app to do what a browser does, right ?

from abaddon.

ouwou avatar ouwou commented on June 19, 2024

it might be theoretically possible but i dont see an easy way to do it. it definitely doesnt look like GTK supports it by default

from abaddon.

ArjixWasTaken avatar ArjixWasTaken commented on June 19, 2024

fundamentally i dont think theres any way to allow for selections across both title and body simultaneously since they are two distinct widgets

There must be a way for a native app to do what a browser does, right ?

well, browsers have the Selection API, here is a video that goes into details
and here is the spec, yes it has its own spec...

I haven't worked on GTK apps so I don't even know if you can traverse a GTK widget tree, but that would be a basic requirement for this to happen.

from abaddon.

ArjixWasTaken avatar ArjixWasTaken commented on June 19, 2024

PS: This is A LOT of work for just selecting text, and should not be smth the developer of this client needs to do.
It should be smth supported by GTK itself

from abaddon.

KaKi87 avatar KaKi87 commented on June 19, 2024

I'm sorry to say that, these native-specific limitations, despite how small they seem, considerably decrease the UX compared to Discord's web app, so much that the native-specific advantages don't feel worth those.

from abaddon.

ouwou avatar ouwou commented on June 19, 2024

closing cuz last commit lets selecting message text work normally now. the type of selection behavior you describe just isnt something really possible for a GTK program

from abaddon.

KaKi87 avatar KaKi87 commented on June 19, 2024

I'm experiencing the following error after running the latest build :

./abaddon: error while loading shared libraries: libspdlog.so.1: cannot open shared object file: No such file or directory

Thanks

from abaddon.

ouwou avatar ouwou commented on June 19, 2024

thats probably not an issue with abaddon just something on your side. but make sure you have spdlog properly installed. you might need to symlink it somewhere. you also might be able to get some better info from googling that error

from abaddon.

KaKi87 avatar KaKi87 commented on June 19, 2024

Turns out I'm experiencing this issue since 0a1138f.

I am not experiencing this issue using 38c3b0c and earlier.

Also, apt policy spdlog outputs N: Unable to locate package spdlog (on latest Ubuntu).

from abaddon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.