Universal-Debloater-Alliance / universal-android-debloater-next-generation

Cross-platform GUI written in Rust using ADB to debloat non-rooted Android devices. Improve your privacy, the security and battery life of your device.
GNU General Public License v3.0
2.66k stars 91 forks source link

feat: open links and copy #49

Open Skizzy24 opened 1 year ago

Skizzy24 commented 1 year ago

Make that you can open links from the app description and copy the app package or app description.

adhirajsinghchauhan commented 11 months ago

iced has no support for this, and it won't come anytime soon: https://github.com/iced-rs/iced/issues/36.

There's two ways to copy text if using iced:

  1. TextInput but with overridden styles (it's a text input field, so we'll need to to make it look like normal text)
  2. Manage selection state ourselves

I don't like (1) because its just ugly to do. A GUI toolkit doesn't support (normal) text selection? Yuck. And then there'd be accessibility concerns, with screen readers for example, but I have no idea if iced even handles that at all.

(2) would increase the amount of code we'd need to maintain, with little actual benefit.

Frigyes06 commented 11 months ago

Yeah, this is really a missing feature in iced rather than UAD-ng. It'll have to be a wontfix until we make a new ui or iced implements copiable text

MathewJake365 commented 5 months ago

This feature is very useful. And without this we have to type package names and long links by looking at them. Please make this happen.

Frigyes06 commented 4 months ago

See: https://github.com/iced-rs/iced/issues/36