http://bugs.winehq.org/show_bug.cgi?id=21413
Summary: Cannot type language specific letters in MS Word Product: Wine Version: 1.1.27 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: lukasz.wojnilowicz@gmail.com
Created an attachment (id=25789) --> (http://bugs.winehq.org/attachment.cgi?id=25789) Polish "a" letter
I'm using Wine 1.1.36 on Fedora 12 32 bit. I use en_US locale.
I installed Polish version of MS Office 2003 and then I did:
1) hold right alt key 2) press "a" 3) release all keys
Behaviour: Nothing happened
Expected behaviour: Polish "a" letter should appear as in attachment.
Terminal output:
fixme:storage:Storage_ConstructTransacted Unimplemented flags 110022 fixme:storage:StgCreateDocfile Storage share mode not implemented. fixme:storage:StgCreateStorageEx Stub: calling StgCreateDocfile, but ignoring pStgOptions and grfAttrs fixme:storage:StgCreateDocfile Storage share mode not implemented. fixme:storage:StorageImpl_Commit (0x1b0b00 4): stub fixme:storage:StorageImpl_Commit (0x1b0b00 4): stub fixme:storage:StorageImpl_Commit (0x1b0b00 4): stub fixme:storage:StgCreateDocfile Storage share mode not implemented. fixme:storage:StgCreateDocfile Storage share mode not implemented. fixme:reg:GetNativeSystemInfo (0x33f7c0) using GetSystemInfo()
Additional info:
1) The letter should also appear when I type Alt+0105 but it isn't the case. 2) I can type Polish "a" letter in described way in OpenOffice
http://bugs.winehq.org/show_bug.cgi?id=21413
NSLW lukasz.wojnilowicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.1.27 |1.1.36
http://bugs.winehq.org/show_bug.cgi?id=21413
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dimesio@earthlink.net
--- Comment #1 from Rosanne DiMesio dimesio@earthlink.net 2010-01-18 23:17:06 --- (In reply to comment #0)
Created an attachment (id=25789)
--> (http://bugs.winehq.org/attachment.cgi?id=25789) [details]
Polish "a" letter
I'm using Wine 1.1.36 on Fedora 12 32 bit. I use en_US locale.
I installed Polish version of MS Office 2003 and then I did:
- hold right alt key
- press "a"
- release all keys
Behaviour: Nothing happened
Expected behaviour: Polish "a" letter should appear as in attachment.
Have you tested this in Windows? Alt-a is Word 2003's default shortcut key for Table=>Autofit, and that's what it brings up on my system in both Wine and Windows. However, I do have the U.S. version, and it's possible that the Polish version has different default shortcuts.
- The letter should also appear when I type Alt+0105 but it isn't the case.
That's not the correct shortcut. You have to type 0105, then press Alt-x. It works for me in both Wine and Window.
You can also do it through the menu, Insert=>Symbol.
- I can type Polish "a" letter in described way in OpenOffice
That's irrelevant. Open Office's keyboard shortcuts are not the same as Microsoft Office's, in Windows or Wine.
http://bugs.winehq.org/show_bug.cgi?id=21413
--- Comment #2 from Dmitry Timoshkov dmitry@codeweavers.com 2010-01-19 00:48:01 --- What's your locale?
http://bugs.winehq.org/show_bug.cgi?id=21413
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #3 from Dmitry Timoshkov dmitry@codeweavers.com 2010-01-19 00:49:09 ---
I'm using Wine 1.1.36 on Fedora 12 32 bit. I use en_US locale.
I see. That's your problem. Use appropriate locale.
http://bugs.winehq.org/show_bug.cgi?id=21413
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Dmitry Timoshkov dmitry@codeweavers.com 2010-01-19 00:49:20 --- Closing invalid.
http://bugs.winehq.org/show_bug.cgi?id=21413
NSLW lukasz.wojnilowicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |UNCONFIRMED Resolution|INVALID |
--- Comment #5 from NSLW lukasz.wojnilowicz@gmail.com 2010-01-19 02:40:19 --- (In reply to comment #1)
Have you tested this in Windows? Alt-a is Word 2003's default shortcut key for Table=>Autofit, and that's what it brings up on my system in both Wine and Windows. However, I do have the U.S. version, and it's possible that the > Polish version has different default shortcuts.
Maybe LEFT Alt+a is shortcut for Table=>Autofit, I don't know because I don't use it, but RIGHT Alt+a is shortcut for Polish "a" letter.
- The letter should also appear when I type Alt+0105 but it isn't the case.
That's not the correct shortcut. You have to type 0105, then press Alt-x. It works for me in both Wine and Window.
You can also do it through the menu, Insert=>Symbol.
Yes indeed, both works perfectly.
- I can type Polish "a" letter in described way in OpenOffice
That's irrelevant. Open Office's keyboard shortcuts are not the same as Microsoft Office's, in Windows or Wine.
There are the same for MS Office and OpenOffice. In every program when I want to write Polish "a" letter I have to use RIGHT Alt+a. It's universal.
(In reply to comment #3)
I'm using Wine 1.1.36 on Fedora 12 32 bit. I use en_US locale.
I see. That's your problem. Use appropriate locale.
It doesn't help when I use pl_PL. I can add that my keyboard layout both in en_US and pl_PL is: Country:Poland Variants:Poland
It allows me to type Polish letter "a" in both locales by doing RIGHT Alt+a in every program but not in MS Word 2003 and MS Word 2007.
http://bugs.winehq.org/show_bug.cgi?id=21413
--- Comment #6 from Dmitry Timoshkov dmitry@codeweavers.com 2010-01-19 04:45:31 --- (In reply to comment #5)
It allows me to type Polish letter "a" in both locales by doing RIGHT Alt+a in every program but not in MS Word 2003 and MS Word 2007.
What output produces 'xev' when you press RAlt+a there? Please attach xev output.
http://bugs.winehq.org/show_bug.cgi?id=21413
--- Comment #7 from Dmitry Timoshkov dmitry@codeweavers.com 2010-01-19 04:47:01 --- And it doesn't really matter what your keyboard layout is if your locale is wrong.
http://bugs.winehq.org/show_bug.cgi?id=21413
--- Comment #8 from NSLW lukasz.wojnilowicz@gmail.com 2010-01-19 06:02:54 --- Created an attachment (id=25793) --> (http://bugs.winehq.org/attachment.cgi?id=25793) terminal output from xev
(In reply to comment #7)
And it doesn't really matter what your keyboard layout is if your locale is wrong.
Actually it does matter for me because if:
a) locale: en_US or pl_PL keyboard layout: USA result: I cannot type Polish "a" letter
b) locale: en_US or pl_PL keyboard layout: Poland result: I can type Polish "a" letter
I'm attaching terminal output from xev when locale is en_US and keyboard layout is Poland.
http://bugs.winehq.org/show_bug.cgi?id=21413
--- Comment #9 from Austin English austinenglish@gmail.com 2010-01-19 10:16:32 --- (In reply to comment #5)
(In reply to comment #1)
Have you tested this in Windows? Alt-a is Word 2003's default shortcut key for Table=>Autofit, and that's what it brings up on my system in both Wine and Windows. However, I do have the U.S. version, and it's possible that the > Polish version has different default shortcuts.
Maybe LEFT Alt+a is shortcut for Table=>Autofit, I don't know because I don't use it, but RIGHT Alt+a is shortcut for Polish "a" letter.
On Windows XP with office 2003, both right and left Alt + a gives Table=>Autofit.
http://bugs.winehq.org/show_bug.cgi?id=21413
--- Comment #10 from Dmitry Timoshkov dmitry@codeweavers.com 2010-01-19 10:24:26 --- Can you reproduce the problem with 'wine notepad'? If yes, please generate a +key,+keyboard,+event,+x11drv log, 'bzip2 -9' and attach it.
http://bugs.winehq.org/show_bug.cgi?id=21413
--- Comment #11 from Rosanne DiMesio dimesio@earthlink.net 2010-01-19 13:18:18 --- If you want MS Word to use alt-a to insert a Polish a, just assign it to that shortcut:
Insert=>Symbol Select the character you want to assign to a key Click the Shortcut Key button Press alt-a (or whatever key combination you want) Click Assign Click Close
Works fine on my system, even with the en_US locale and keyboard.
http://bugs.winehq.org/show_bug.cgi?id=21413
--- Comment #12 from NSLW lukasz.wojnilowicz@gmail.com 2010-01-19 15:24:48 --- Created an attachment (id=25800) --> (http://bugs.winehq.org/attachment.cgi?id=25800) WINEDEBUG=+key,+keyboard,+event,+x11drv on Wine 1.1.36
(In reply to comment #10)
Can you reproduce the problem with 'wine notepad'? If yes, please generate a +key,+keyboard,+event,+x11drv log, 'bzip2 -9' and attach it.
Log is in attachement. Locale en_US , keyboard layout: Poland.
(In reply to comment #11)
If you want MS Word to use alt-a to insert a Polish a, just assign it to that shortcut:
And how would you do that for notepad?
http://bugs.winehq.org/show_bug.cgi?id=21413
--- Comment #13 from Dmitry Timoshkov dmitry@codeweavers.com 2010-01-19 23:52:28 --- (In reply to comment #12)
Can you reproduce the problem with 'wine notepad'? If yes, please generate a +key,+keyboard,+event,+x11drv log, 'bzip2 -9' and attach it.
Log is in attachement. Locale en_US , keyboard layout: Poland.
Thanks. According to the log correct unicode character is generated but because of Alt being pressed WM_SYSCHAR message gets generated instead of WM_CHAR. That's unavoidable, that's how Alt modifier is supposed to work under win32. I'd say that this is wontfix.
http://bugs.winehq.org/show_bug.cgi?id=21413
--- Comment #14 from NSLW lukasz.wojnilowicz@gmail.com 2010-01-20 01:39:55 --- (In reply to comment #13)
Thanks. According to the log correct unicode character is generated but because of Alt being pressed WM_SYSCHAR message gets generated instead of WM_CHAR. That's unavoidable, that's how Alt modifier is supposed to work under win32. I'd say that this is wontfix.
It works somehow on MS Windows. At least for MS Word I've got easy fix from Rosanne DiMesio, thank you.
http://bugs.winehq.org/show_bug.cgi?id=21413
--- Comment #15 from Dmitry Timoshkov dmitry@codeweavers.com 2010-01-20 03:19:17 --- (In reply to comment #14)
It works somehow on MS Windows.
Which version of Windows have you tested it on? Does it work in MS Office and notepad? And what exactly is the observed behaviour under Windows?
http://bugs.winehq.org/show_bug.cgi?id=21413
--- Comment #16 from NSLW lukasz.wojnilowicz@gmail.com 2010-01-20 03:53:18 --- (In reply to comment #15)
(In reply to comment #14)
It works somehow on MS Windows.
Which version of Windows have you tested it on? Does it work in MS Office and notepad? And what exactly is the observed behaviour under Windows?
I tested Polish version of MS Windows XP with Service Pack 3. At the moment I haven't got MS Office installed on XP but I assure you that RALT+a types Polish "a" letter. I can prove that it does work in notepad though.
I start notepad then I do RALT+a and Polish "a" letter appears just like every other letter from Latin alphabet. This behaviour is for every Polish version of MS Windows in every notepad and in every program on MS Windows. It would be very annoying and hard to write Polish words if it wouldn't be so.
http://bugs.winehq.org/show_bug.cgi?id=21413
--- Comment #17 from Dmitry Timoshkov dmitry@codeweavers.com 2010-01-20 04:26:50 --- Perhaps you could investigate with some tool like spy++ which keyboard messages get generated when you press RAlt+a. It would be also interesting to find out all keyboard shortcuts which are handlded differently, and whether the behaviour depends on keyboard layout (english vs. polish).
http://bugs.winehq.org/show_bug.cgi?id=21413
--- Comment #18 from NSLW lukasz.wojnilowicz@gmail.com 2010-01-20 12:45:20 --- (In reply to comment #17)
Perhaps you could investigate with some tool like spy++ which keyboard messages
Could you give any alternative for spy++, or link to download spy++?
http://bugs.winehq.org/show_bug.cgi?id=21413
--- Comment #19 from Dmitry Timoshkov dmitry@codeweavers.com 2010-01-21 02:46:08 --- (In reply to comment #18)
Could you give any alternative for spy++, or link to download spy++?
I don't know an alternative, spy++ is a part of the Visual C++ product.
http://bugs.winehq.org/show_bug.cgi?id=21413
--- Comment #20 from NSLW lukasz.wojnilowicz@gmail.com 2010-01-24 05:39:11 --- Created an attachment (id=25849) --> (http://bugs.winehq.org/attachment.cgi?id=25849) Notepad with RAlt+{a, e, c, n, l, z, x} keyboard layout Polish
(In reply to comment #17)
Perhaps you could investigate with some tool like spy++ which keyboard messages get generated when you press RAlt+a. It would be also interesting to find out all keyboard shortcuts which are handlded differently, and whether the behaviour depends on keyboard layout (english vs. polish).
I started Notepad then spy++ and did:
1) hold Right Alt 2) press KEY 3) release Right Alt
I did that for KEY= {a, e, c, n, l, z, x} with English and Polish keyboard layout. When keyboard layout was Polish I get output as seen in attachment. When keyboard layout was English none of letters had been displayed. In next attachment there is an log with messages from Notepad. If it's not complete then please tell me what check-boxes should I mark before longing messages.
http://bugs.winehq.org/show_bug.cgi?id=21413
--- Comment #21 from NSLW lukasz.wojnilowicz@gmail.com 2010-01-24 05:40:14 --- Created an attachment (id=25850) --> (http://bugs.winehq.org/attachment.cgi?id=25850) Spy++ log, keyboard layout PL
http://bugs.winehq.org/show_bug.cgi?id=21413
--- Comment #22 from NSLW lukasz.wojnilowicz@gmail.com 2010-01-24 05:41:11 --- Created an attachment (id=25851) --> (http://bugs.winehq.org/attachment.cgi?id=25851) Spy++ log, keyboard layout EN
http://bugs.winehq.org/show_bug.cgi?id=21413
NSLW lukasz.wojnilowicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #25850|text/plain |application/vnd.sealed.xls mime type| |
http://bugs.winehq.org/show_bug.cgi?id=21413
--- Comment #23 from Dmitry Timoshkov dmitry@codeweavers.com 2010-01-24 22:21:50 --- Please attach plain text files.
http://bugs.winehq.org/show_bug.cgi?id=21413
--- Comment #24 from Vitaliy Margolen vitaliy@kievinfo.com 2010-01-25 00:01:46 --- They kind of are... only in ucs-2. You can recode them with 'recode co..utf-8' (this is for poster to recode them and attach plain text _ascii_ files).
http://bugs.winehq.org/show_bug.cgi?id=21413
--- Comment #25 from NSLW lukasz.wojnilowicz@gmail.com 2010-01-25 01:24:38 --- Created an attachment (id=25879) --> (http://bugs.winehq.org/attachment.cgi?id=25879) Spy++ log, keyboard layout PL
http://bugs.winehq.org/show_bug.cgi?id=21413
--- Comment #26 from NSLW lukasz.wojnilowicz@gmail.com 2010-01-25 01:25:11 --- Created an attachment (id=25880) --> (http://bugs.winehq.org/attachment.cgi?id=25880) Spy++ log, keyboard layout EN
http://bugs.winehq.org/show_bug.cgi?id=21413
--- Comment #27 from Dmitry Timoshkov dmitry@codeweavers.com 2010-01-25 01:33:15 --- (In reply to comment #25)
Created an attachment (id=25879)
--> (http://bugs.winehq.org/attachment.cgi?id=25879) [details]
Spy++ log, keyboard layout PL
Something is going strange in this log, Ctrl key is being pressed either by you, or its press is being emulated.
http://bugs.winehq.org/show_bug.cgi?id=21413
--- Comment #28 from NSLW lukasz.wojnilowicz@gmail.com 2010-01-25 01:34:42 --- (In reply to comment #27)
(In reply to comment #25)
Created an attachment (id=25879)
--> (http://bugs.winehq.org/attachment.cgi?id=25879) [details] [details]
Spy++ log, keyboard layout PL
Something is going strange in this log, Ctrl key is being pressed either by you, or its press is being emulated.
I'm 100% sure that I don't press Ctrl key. If I would do that then no letter would appear.
http://bugs.winehq.org/show_bug.cgi?id=21413
--- Comment #29 from NSLW lukasz.wojnilowicz@gmail.com 2010-02-10 07:35:54 --- What's the status of this bug? Is it WONTFIX or can I expect to see it fixed in near future?
http://bugs.winehq.org/show_bug.cgi?id=21413
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kennybobs@o2.co.uk
--- Comment #30 from Ken Sharp kennybobs@o2.co.uk 2010-05-27 19:05:51 --- This works fine for me in the latest git, can you try again?
http://bugs.winehq.org/show_bug.cgi?id=21413
NSLW lukasz.wojnilowicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #31 from NSLW lukasz.wojnilowicz@gmail.com 2010-05-28 03:14:30 --- (In reply to comment #30)
This works fine for me in the latest git, can you try again?
Indeed the problem is fixed since Wine 1.2-rc1. Thanks everyone who worked on fixing that issue.
http://bugs.winehq.org/show_bug.cgi?id=21413
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #32 from Alexandre Julliard julliard@winehq.org 2010-05-28 12:51:13 --- Closing bugs fixed in 1.2-rc2.