Issue 78680 - copy and paste do not work to hyperlink window
Summary: copy and paste do not work to hyperlink window
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: MacOSX (show other issues)
Version: current
Hardware: Mac Mac OS X, all
: P3 Trivial (vote)
Target Milestone: OOo 3.0
Assignee: stefan.baltzer
QA Contact: issues@porting
URL:
Keywords: aqua
: 81868 81869 (view as issue list)
Depends on:
Blocks:
 
Reported: 2007-06-20 06:49 UTC by johanhenselmans2
Modified: 2008-08-05 11:56 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Possible patch for the problem at hand (2.05 KB, patch)
2007-09-28 21:20 UTC, tino.rachui
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description johanhenselmans2 2007-06-20 06:49:54 UTC
First, select a piece of text eg http://www.openoffice.org, do a copy of that text. 
Check if paste works in text by doing a paste of the copied text.
Then, select a piece of text, choose insert->hyperlink.
Then, try to paste the copied text into the hyperlink field.

Does not work.
Comment 1 shaunmcdonald131 2007-06-20 10:23:08 UTC
In the X11 version there is a copy and paste problem in many of ooo's dialogs. Not sure if there is already 
an issue for this.
Comment 2 pavel 2007-06-20 19:29:18 UTC
Confirmed.

I can't paste the text into any dialog - e.g. into Hyperlink dialog, into Preferences dialogs etc.

Tino: do you have any idea?
Comment 3 icanseethepubfromhere 2007-07-04 02:42:41 UTC
I ran into the same problem; can't paste into fields in dialogue window inside
Hyperlink pop-up window. Used both Hyperlink icon in menu bar as well as
Insert->Hyperlink and could not paste data into desired fields.

You can key in the web address and text to appear in the document and the
feature works.
Comment 4 icanseethepubfromhere 2007-07-04 02:44:50 UTC
previous post was results of testing 2nd snapshot
aquavc|01_20070630 on PPC G4
Comment 5 tino.rachui 2007-07-04 10:13:34 UTC
Weird, I will have a look on this issue soon.
Comment 6 shaunmcdonald131 2007-07-05 12:16:55 UTC
This problem occurs in both the X11 and Aqua versions.

Inserting a caption to an image and trying to paste using the keyboard short means that you get the letter 
v.

Most of dialogs flash the edit menu when you are trying to paste.
Comment 7 eric.bachard 2007-09-23 21:44:00 UTC
*** Issue 81868 has been marked as a duplicate of this issue. ***
Comment 8 eric.bachard 2007-09-23 21:53:25 UTC
as spiral mentionned, ALT works.

Something wrong in automation/basic  ?
Comment 9 eric.bachard 2007-09-23 22:03:45 UTC
+ I'm talking about automation and basic because the testool uses ALT too, instead of Apple key

imho, shortcuts really need some investigations
Comment 10 pavel 2007-09-24 09:18:39 UTC
*** Issue 81869 has been marked as a duplicate of this issue. ***
Comment 11 micrond 2007-09-26 03:43:59 UTC
I don't know the build number (identified as September 15th on download site). 
I confirm that the Alt character is working to unable copy-paste instead of
apple character.
Comment 12 tino.rachui 2007-09-28 21:18:42 UTC
tra: The problem is a wrong key mapping in either vcl/source/window/keycod.cxx or vcl/aqua/source/
window/salframe.cxx. In keycod.cxx  the aImplKeyFuncTab table which maps keycodes to actions 
consequently contains KEY_MOD5 which maps to the 'Alt' key instead of 'Ctrl' key. Changing the entries to 
KEY_MOD1 instead resolves the issue. Using the Apple key in combination with 'C', 'X' or 'V' doesn't work 
yet however. See attached patch for one possible fix (as I said maybe the better place to fix this is in 
salframe.cxx - Philipp?).
Comment 13 tino.rachui 2007-09-28 21:19:19 UTC
adding pl on cc
Comment 14 tino.rachui 2007-09-28 21:20:01 UTC
Created attachment 48595 [details]
Possible patch for the problem at hand
Comment 15 eric.bachard 2007-10-05 10:55:41 UTC
ericb->tra

Yes, the changes are either in keycode.cxx or in salframe.cxx. Note everything has not yet been 
implemented in salframe.cxx.

Else, your patch works as expected, but for CTRL key, not Command key (Apple key )
Comment 16 philipp.lohmann 2007-10-08 15:31:53 UTC
the issue is twofold. First I needed to change the event queue, because the
Cmd-V key event was swallowed by the native menu and dispatched as a menu event
- but menu events are disabled during a modal dialog running. The corresponding
change is in aquavcl03 and Cmd-V seems to work ok now.

However still missing is the entry in the edit context menu, I wonder why is that.
Comment 17 philipp.lohmann 2007-11-28 17:26:36 UTC
additional problem: the hyperlink dialog is not modal, so the fix does not work
for it (and other nonmodal dialogs like e.g. search&replace)
Comment 18 philipp.lohmann 2008-01-22 15:37:58 UTC
fixed in CWS aquavcl05
Comment 19 philipp.lohmann 2008-02-19 20:39:11 UTC
please verify in CWS aquavcl05
Comment 20 stefan.baltzer 2008-03-04 14:17:40 UTC
Verified in CWS aquavcl05.
Comment 21 Raphael Bircher 2008-08-05 11:56:08 UTC
fixed in Master.

Closing issue

Notice: works, but the solution is realy ugly