-
-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[crash] import buttons try to force a GTK dialog despite having none available #1400
Comments
LibreWolf depends on There's nothing to do with Cinny. |
This comment was marked as off-topic.
This comment was marked as off-topic.
so Cinny provides a text input now for file uploads and accepts mxc URLs for avatars already? |
It's not possible for webapps to access any path on your system. Webapps don't even know where the file was in your directory structure (what was the path), before opening it in browser. The webapps only see the file content and filename. Otherwise any webapp could scan your directory structure, or at least know where you stored the file. You have to patch Gecko to enable this functionality. After you have finished patching Gecko, come back here, and describe your new JS API for it, then the Cinny devs can implement it if you provide your Gecko patches as open source, so they can use locally to test the new feature while developing it. |
Hey, thanks for negotiating ... but couldn't you just allow me to change ... at least then it wouldn't be some malicious code capable of scanning your filesystem since the browser would still handle all that stuff within it's core This would probably be easier to implement for the "Import Keys" button since the ava upload uses some special flex stuff... |
if it makes the work easier not being able to change my account avatar is really not that big of an issue but it would be nice to be able to import keys just by specifying the path |
Well I have news but Cinny's UI is still poorly designed when it comes to inputs on forms that could absolutely be used for entering file paths it's also good for if you want to set your global ava to an old mxc:// url |
Specifying path should be on browser not cinny so closing as we can't do much here. |
Describe the bug
I happily do not have GTK installed on my system, so anything that tries to force open a dialog for anything crashes my browser:
The bug is Cinny doesn't detect this and provide an alternative text input
Reproduction
1: remove GTK from your system
2: try to import an emoji, avatar, or key export
3: watch your browser crash
Expected behavior
you're shown an alternate text prompt for the URI you want to import
(or at least given an option to alternatively specify the returned URI from the dialog)
Platform and versions
Additional context
I've removed most of the garbage from my system, such as dbus (integrations should be program-native), Qt, and other web-based backends...
I'm ultimately working on removing glib2 and even going as far as glibc (the kernel is more stable), and potentially my init system (I start any daemons myself at login), so I can finally have a sane, stable, and actually secure and private (no integrations or even telemetry) system I actually own without any web garbage or other bloat.
(no that doesn't mean I use a CLI for everything I do, my goal is to have a GUI like Win7 (or Vista) without any BS)
currently I only have a total of 342 packages installed, but that's being reduced as I go...
but Gnome is specifically noted here because everything they do breaks stability, so don't expect me to reinstall it ;)
(the lore was needed so you have an idea of where you need to focus on)
PS: remove the potential fingerprinting please, your canvases are setting off my alarms.
The text was updated successfully, but these errors were encountered: