Score:0

How can I make text in dialog windows selectable (for copying)?

ru flag

Well, I mean more all windows rather than just dialog windows, but I can't think of a better term to start pointing in the direction of what I mean.

To be more concrete:

kdialog              --title 'title'     --inputbox  'I want to be able to select this text for copying'     # eg with qt  
zenity   --entry     --title 'title'     --text      'I want to be able to select this text for copying'     # eg with gtk  

But to be clear, I don't mean I just want to make it so that the text is selectable in those specific windows that I create,
but rather, I'm looking for something like a system setting I can change so that text is selectable by default in any window on my system.

(I'm guessing there'll be two separate solutions for qt and gtk apps, although ideally I wish I could just make ALL text in ANY window selectable.)

This is an extremely annoying problem that I run into all the time,
but just to give the most recent example:
I'm using the timeshift-gtk gui,
and under button-"Settings">tab-"Filters">button-"Summary", there's a big list of all the exclude/include patterns...
which I can't select and copy.

I'm using kubuntu 20.04.3, but if I remember right I had the same problem in gnome on ubuntu too.

(
Honestly, the fact that selecting text isn't possible by default is absolutely DISGUSTINGLY TERRIBLE UI design.

In fact, it reminds me of the stories of stupid shit Apple does,
like having practically invisible glass on the doors at their headquarters,
so that their employees had to put stickers on the doors so they'd stop running into them.
... but then Apple would keep removing the stickers cuz they didn't jive with the insanity of their absolutely DISGUSTINGLY TERRIBLE UI design philosophy.

Like, who cares if people walk into doors, or can't copy text?
Making doors visible or text selectable just wouldn't jive with the twisted abstract definitions of "clean" and "simple" they worship in their insane design philosophy, so...

And sure, if you were stupidly naive,
you might expect people in the FOSS world to be too smart and sane to unthinkingly monkey-copy that kind of obviously absolutely DISGUSTINGLY TERRIBLE nonsense, but...
Of course not!
Horizon to horizon, everything is one giant garbage fire, and there is nowhere you can escape to where people aren't busily engaged in adding more layers of flaming garbage onto it.

... Yeah, fuck it, I'm not gonna delete this frustrated rant before I post this,
because regardless of whether or not I cut it out,
can I honestly say I believe I'm going to get any useable answer to my question anyway?

I just... I don't want to exist anymore.
The world is one giant insane mess.
People don't care about themselves, let alone others,
and I am far too worthlessly ignorant and incompetent to help fix anything,
and just... nothing matters. All there is is pain. It's all empty and meaningless, but it still hurts, and I'm so broken and tired of being abused, traumatized, and abandoned, and...

Whatever. I know that, realistically speaking, I'll just keep on existing indefinitely anyway, apparently cuz I'm just too damn... "lazy"(?) to... I don't know... get a nitrogen gas cylinder or something...?
)

sudodus avatar
jp flag
`zenity --entry --title 'title' --text='help text' --entry-text='I can select this text for copying' --width=400`
sudodus avatar
jp flag
`zenity --info --title 'title' --text='I can select this text for copying' --width=400`
vanadium avatar
cn flag
Despite of your style which is too wordy and rambly, I upvoted the question: relevant.
waltinator avatar
it flag
It is possible to ask a question without ranting. Rants distract from the actual question, and add precisely nothing that will help us help you. I, for one, tend not to even consider rant filled questions.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.