#1159 closed bug (fixed)
Terminal mouse button functions confusing; should be swapped
Reported by: | grackle | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Applications/Terminal | Version: | R1/pre-alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Right clicking in the terminal pastes text, while middle clicking opens a contextual menu of questionable usefulness.
The attached patch swaps the contextual menu and paste buttons, so that the menu is invoked with the RMB, and pasting is achieved using the MMB. The contextual menu is also modified, replacing encoding choices in favor of text selection and copy functions.
Attachments (1)
Change History (8)
comment:1 by , 18 years ago
Type: | enhancement → bug |
---|
by , 18 years ago
Attachment: | terminal_update.diff added |
---|
updated diff; doesn't change anything, just a little cleaner
comment:2 by , 18 years ago
I don't like that patch.
Right clicking always pasts text in BeOS, and I think it should be that way in Haiku, too
comment:3 by , 18 years ago
But it's more consistent with the behavior of all other apps. I don't see a reason why we should repeat BeOS' inconsistencies.
follow-up: 7 comment:4 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thanks for the patch, grackle. However, I opted to not include it, and instead remove the popup menu completely; in either way I consider it pretty much useless. I also solved your "confusion" as both mouse buttons now do the very same thing - pasting into the Terminal.
Also, when you provide a patch, please make sure you don't add unrelated content; in your (cleaned) patch, you still change TermWindow.cpp for no good reason.
comment:7 by , 18 years ago
Replying to axeld:
Also, when you provide a patch, please make sure you don't add unrelated content; in your (cleaned) patch, you still change TermWindow.cpp for no good reason.
Hmm, I thought I needed that change for the copy/paste functions in the contextual menu. In any case, I'll keep an eye out for that kind of thing in the future.
Thanks for the patch. I hope Axel will commit it. :)