clipboard uses both selection and traditional clipboard (might be misleading)

Bug #397724 reported by pyrates
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Won't Fix
Undecided
Unassigned

Bug Description

Currently the clipboard has a compatibility layer that was added to the terminal emulator. This layer that was added is if I select some text or highlight it in a terminal window, and then press the middle mouse button it will then paste what I just selected.

We don't need this. The problem is that this is still used because terminal emulators had reserved the ctrl+c and ctrl+x and other short cuts that now the clipboard uses.

There is now plenty of terminal emulators that we can right click and copy/paste/cut so this is no longer needed. It's been 15 years since it was implemented, it's time to fix it.

For terminal emulators they can over-ride the clipboard shortcuts and force the user to right click to copy/paste the text. For applications like text editors, they can use the default shortcuts such as ctrl+c and ctrl+x and ctrl+v. The terminal emulators should not control the clipboard's functionality that would make it useful in linux instead of being hobbled.

This effects the entire system and should be implemented in Xorg instead of in gnome so that even kde gets this benefit.

Tags: ayatana
Revision history for this message
Przemek K. (azrael) wrote :

The mouse-selection clipboard is not specific to terminal. It works in many more applications - ie. Firefox.
It's not a compatibility layer. It's a consensus which was reached by developers.
http://freedesktop.org/wiki/Specifications/clipboards-spec?action=show
And it's not specific to Gnome - it's a part of Xorg.
I agree that having 2 clipboards might be misleading to users.
But ctrl-c and other shortcuts won't go away from the terminal. There is no chance for that. As far as I remember, this is a basic functionality defined in the POSIX standard.
People who use the terminal emulator are usually expert users and they will expect ctrl-c (and others) to work as in normal Unix/Linux terminal (not X).
Also, these expert users will know how X clipboards work. And they won't like using 2 clicks to achieve something that previously worked with just 1 click.
Ordinary Ubuntu users will not be required to run the terminal.

summary: - clipboard uses both selection and traditional clipboard
+ clipboard uses both selection and traditional clipboard (might be
+ misleading)
Revision history for this message
pyrates (pyrates18) wrote :
Download full text (6.0 KiB)

I suggest you read this below from http://elliotth.blogspot.com/2008/08/desktop-linux-suckage-clipboard.html before you start thinking you know whats best for ordinary users. Also read this http://freedesktop.org/wiki/Specifications/ClipboardsWiki which shows they want to change this behavior to be more consistent with windows and os x. And please provide a link that the posix standard must be the way it currently is cuz it sucks.

Desktop Linux suckage: the clipboard

X11's equivalent of the clipboard has been broken since I first used X11, back in 1993. 15 years later, things are still as bad as ever they were.

They say hard cases make bad law, and terminal emulators make very hard UI cases. Unfortunately, nerds being nerds, a terminal emulator tends to be the first application written for any Unix GUI. There are two main problems caused by starting with the terminal emulator and generalizing to the other 99% of applications. The more fundamental problem is that terminal emulators expect that most keystrokes can be passed through to the pseudo terminal, including the keystrokes that every other application on your system uses as keyboard equivalents for menu actions.

The X11-specific problem is that XTerm conditioned many long-term Unix users to use the selection instead of the clipboard. (If you're not an X11 user, you probably have no idea what I'm talking about here. Don't worry; we'll get to it.)

The big problem with the X11 clipboard is actually nothing to do with terminal emulators, except in so far as if they'd actually written some real apps instead of guessing what they might be and how they might behave, they probably wouldn't have crippled the clipboard in the way they did.

The easy one first, though. Mac OS uses a modifier key for menu actions (the "command" key) that didn't exist on traditional terminals, cleverly side-stepping the problem. PuTTY on Windows basically does without; a not unreasonable solution. GNOME Terminal uses control and shift (instead of just the "control" key). Terminator uses alt, which used to be popular on Unix, but fell out of favor in Linux times, thanks (I've always assumed) to the influx of Windows users.

As for the second problem, you may or may not know that Mac OS actually has multiple "pasteboards" (as usual, even their terminology is different). Mac OS hides them well enough that real people neither know nor care. Real people using Linux, even if they only use Firefox, get screwed by the old "selection" versus "clipboard" nonsense. Basically, in addition to the usual clipboard with its explicit "copy" and "paste" actions, there's a "selection". To set it you just select some text. To paste it, you press the middle button. (These days, the scroll wheel.) To paste it over existing text (such as in your web browser's location bar)... well, you can't do that. It's roughly that mistake that screws people over.

I see this catch people out at least once a week, and that's amongst X11 users savvy enough to simply shrug, mutter something along the lines of "bloody clipboard", and try again more carefully. As long Linux has no Steve Jobs to stand up and say "this is hurting us, so out it goes", I...

Read more...

Revision history for this message
Vish (vish) wrote :

Thank you for bringing this bug to our attention. Unfortunately a paper cut should be a small usability issue that affects many people and is *quick and easy to fix* . I'm afraid this bug can't be addressed as part of this project.

Though this issue needs to be fixed , there is no easy/quick fix. Hence not a papercut.

A paper cut is a minor usability annoyance that an average user would encounter on his/her first day of using a new installation of Ubuntu 9.10.

For further info about papercuts criteria , pls read > https://wiki.ubuntu.com/PaperCut

Don't worry though, This bug has been marked as "invalid" ONLY in the papercuts project.

For resolution of the bug, kindly identify the projects affected and re-assign the bug to that project, otherwise the devs of the concerned project might not be notified of this problem. For more about finding the right package> https://wiki.ubuntu.com/Bugs/FindRightPackage.

Changed in hundredpapercuts:
status: New → Invalid
Revision history for this message
Vish (vish) wrote :

Since the papercuts invalid list is growing , some good ideas are getting lost , hence assigned it to Ayatana[after discussing with David Siegel] for further consideration.

This needs a lot of work , needs to be put in motion by the higher powers.

affects: hundredpapercuts → ayatana
Changed in ayatana:
status: Invalid → New
Revision history for this message
David Siegel (djsiegel-deactivatedaccount) wrote :

Bug is being moved...

tags: added: ayatana
Changed in ayatana:
status: New → Invalid
Deryck Hodge (deryck)
affects: dead-ayatana → hundredpapercuts
Revision history for this message
Vish (vish) wrote :

Won't Fix in papercuts , but is tagged "ayatana" to be overseen in The Ayatana project.

Changed in hundredpapercuts:
status: Invalid → Won't Fix
Revision history for this message
pyrates (pyrates18) wrote :

Can we mark this as a duplicate of https://bugs.launchpad.net/bugs/11334 ? And then put https://bugs.launchpad.net/bugs/11334 in The Ayatana project?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.