samhocevar / wincompose Goto Github PK
View Code? Open in Web Editor NEW🔣 Compose Key for Windows
Home Page: http://wincompose.info/
License: Other
🔣 Compose Key for Windows
Home Page: http://wincompose.info/
License: Other
Users report a lot of compose key misses. This is mostly caused by performance issues in AHK’s ChangeHookState
which is called every time the compose key is pressed.
Hello,
Coming from "AllChars", I have to say that wincompose is a huge improvement. Thanks very much!
Unfortunately (just like AllChars), wincompose stops working several times a day. It doesn't crash - keys are just not composed.
Fortunately, there's the "restart" menu item which corrects this very quickly (restarting AllChars took much longer).
Is this a known bug?
I'm using wincompose on a German Windows 7, 64 bit
cu
Markus
Since I never use caps lock it works well as a compose key, except that on occasion with certain combos (particularly up arrow-up arrow) the caps lock function actually works and I'm stuck in cool mode. I've had to disable, turn of caps, and reenable. I've tried adjusting the delay but am wondering if there's anything else I can do or if there's a way to completely disable caps but still use it for compose.
thanks!
The following two problems were reported by @crazygolem in #9 with regards to the dead key ^ on a Swiss-French keyboard:
This is due to ToUnicodeEx()
eating dead keys. See this interesting thread on StackOverflow. Other projects seem to have abandoned the function in favour of other solutions. See keymagic’s implementation.
Hello!
First, let me thank you for working on wincompose. I come from X.org/Linux world but sometimes need to use Windows and WinCompose is a wonderful tool to make that OS much more useful!
Have a look at my fork https://github.com/jsarenik/wincompose . The difference is, there are no binaries in the repository tree. The bin-free tree I got simply by running
git filter-branch --tree-filter "rm -rf bin"
The command above will change every commit in the repository so you will have to git push --force
but once done, nobody will ever have to download all the past versions upon git clone
...
All the binaries can be uploaded to Releases section of the project https://github.com/jsarenik/wincompose/releases by using tags
git tag v0.4.6 67ed8e1fd3296a9a9b3a96d2a35c93f89f176470
git push --tags
(the rest is done by using GitHub WebUI's tab Releases)
I really appreciate your work on WinCompose!
Thanks and good luck!
http://build-doctor.com/2008/08/22/your-version-control-system-is-not-a-file-system/
WinCompose labels the ``` symbol as "backtick", which is an informal label for the grave accent. This is an easy fix, takes maybe ten seconds.
(About the comment in keys.txt
: yes, an &
is called an ampersand.)
What about adding Emoji support?
Here is a table with all the unicodes: http://apps.timwhitlock.info/emoji/tables/unicode
If the AltGr key is used as the Compose key, the original AltGr combinations no longer work. This is the expected behaviour on Unix, but people have expressed the need for the following behaviour:
The up/down arrows no longer work to browse the Categories section, and only the space character can be typed in the Search box. I broke something but I have no idea what.
Current behavior:
Expected behavior:
It always exits and prints ō and doesn't let me complete the sequence o-+ for ♀.
As reported in #9:
v0.6.6, Windows 7, Polish keyboard (and I am not switching between layouts). Everything works perfectly if I assign compose key to the Right Windows key; however, when I tried to assign it to the Menu key (which I would prefer, since this is what I use for Compose on my Linux computers), it still works as Menu rather than Compose. I haven't tested all alternatives, but some randomly selected (CapsLock, Right Control) seem to work correctly, only Menu is an exception.
Hello,
I try to create a new entry in WinCompose.txt.
I would like to use a ‘+’ (PLUS) sign in the definition.
But this sign is truncated when it follows some unicode characters.
For instance I want to use a reversed S followed by plus sign: Ƨ+
So when using the line below the + is lacking (whatever the number of ‘+’)
<Multi_key>
: "Ƨ+" # S plus
But if I add a space before the reversed S the + appears as expected:
<Multi_key>
: " Ƨ+" # S plus
WinCompose is a great tool, thank you for sharing this.
Some shortcuts such as Alt-Tab, Alt-Left/Right etc. are disabled when the compose key is set to Alt (left or right). It should be possible to get them to work nonetheless.
how can i make this case?
In Linux i use "xcape -t 1000 -e "Control_L=Tab;ISO_Level3_Shift=Multi_key"
so when i press AltGr with any key it's work like usual combination(layout )
when i just press and release AltGr(ISO_Level3_Shift) it release like Compose(Multi_key) and i can write any compose combinations.
Sometimes the “Sequences” tab is not updated when you select an item.
Especially when changing to item with a different case.
How to reproduce:
1 - Open Wincompose->Options, Sequences tab
2 - Select a Sequence for Exemple ~Y (Latin Captital Letter Y with tilde)
3 - Now select the Sequence just below: ~y (Latin Small Letter Y with tilde)
4 - The description is not updated
This is probably because a comparison is not case sensitive.
A simple GUI might be more friendly than adding a .XCompose
file in %USERDIR%
.
The German keyboard layout uses the right Alt key (named AltGr, see AltGr on Wikipedia) to input some characters like ~ (via AltGr & +) or | (AltGr & <). While fortunately the compose key can be set to another key, WinCompose does not register my inputting e.g. ~ via that key combination. It's alternative (using Ctrl+LeftAlt) also is not registered.
Compositions using ~ and other AltGr-only characters, e.g. ñ, can therefore not be input. The same issue will probably arise for other keyboard layouts, e.g. the French AZERTY one.
This could be related to the Authotkey bug mentioned in #4.
Now that the Sequences pane is getting more and more information in it, it will benefit from being larger. In contrast, the Settings pane should be kept small because it does not have as much information in it.
The best course of action should be to split them into two distinct windows. Good luck!
... wherein one could quickly search for a desired character and directly enter it (similarly to the main window search function but quicker). That would basically turn WinCompose into an IME I guess.
Thanks!
This project is wonderful! I've had some hotstrings mapped in my omnibus AHK script for a couple years, but they always pop up when I don't want them. I frequently use characters not included in your default configuration; maybe it would be useful to look for a file at %USERPROFILE%\.XCompose
and append that to the Compose.txt
file. I am using the dotXCompose
file from https://github.com/kragen/xcompose, and it seems to work well in addition to your defaults (although it does remap some sequences).
When trying to create an "upwards arrow" ↑ instead of pressing up twice it has to be pressed 3 times.
This seems trivial but I thought I should report it anyway.
As reported in #18, the interface uses the regional settings to decide the language, instead of using whatever language settings might be selected.
Enhancement.
In KDE on openSUSE, I set caps lock as the compose key, then set another option so that when I pressed both shifts it would toggle caps lock.
WinCompose, seeing as it effectively disables caps lock when it uses that button for composing, should provide an alternate method of toggling caps lock status, so a separate program isn't needed for the same purpose.
Such as both shifts toggle caps lock, or both shifts enable caps lock + one shift disables, or possibly double-click shift to toggle.
I imagine this option being just to the right of the Compose Key: dropdown.
Also, I don't think this new option should be greyed out when another key is selected as the compose key, just in case some other program is also capable of breaking the caps lock key.
Several users are apparently reporting that wincompose seems to disable the mouse wheel. One user at least is using Windows 8.
This would mainly help the use of +, -, . keys, but also make more natural to use shortcuts with digits (1).
As this key substitution could create side effects, an option to enable or disable this behavior is preferable.
(1) Some shortcuts are especially tricky, like compose, maj + &, maj + ' on an azerty keyboard to produce ¼.
The "Close" button has no effect on the Sequences/Options form.
Because it writes to %AppData%
, WinCompose isn’t considered portable (http://www.portablefreeware.com/forums/viewtopic.php?p=69739). This could be easily fixed by checking e.g. for the uninstall.exe
in the same directory. If it exists, it means we have been installed. Otherwise, we should assume we’re running from the current directory.
Looking through all the sequences, I could not find any sequences for the Greek letters Alpha and Theta, both capital and small letters. I would suggest you include
*a for small Greek letter alpha
*A for capital Greek letter alpha
*th for small Greek letter theta
*TH for capital Greek letter theta
Presently, *a and *A are used for a (A) with a ring, but these can be created using various other sequences. On the other hand, using *a etc. for the Greek letters as suggested would make the system more consistent as all other sequences of asterisk and a letter produce Greek letters.
On line 536 of WinCompose.ahk (v0.4.6) the wrong tray icon is set.
Where the tray icon is set,
else if (state == "DISABLED")
{
suspend on
menu tray, check, % _("menu.disable")
; TODO: use icon groups here
menu tray, icon, %resource_file%, 2, 1
menu tray, tip, %app% (disabled)
}
should be
menu tray, icon, %resource_file%, 3, 1
(This is Chaz from the AHK fora. I suggested the search box among other things.)
Apparently Windows doesn’t have a decent mechanism for program updates. We will have to implement the 23879874th “ping webpage; if new_version then warn user” mechanism so that people stay up-to-date.
There is no way to disable sequences; sometimes this might be useful, especially if we want to override sequences with our custom ones.
At 1600 sequences and counting, the symbol list has become almost unusable. It’s probably time for some refactoring (gather symbols in groups, for instance).
When WinCompose is launched, it pops up a system tray balloon saying that it has launched and that $n compose sequences are loaded.
When you're logging into Windows and starting a bunch of background tasks, none of them should display an alert balloon unless there is something that needs attention.
This alert should be removed or there should be an option to disable it.
The fully rewritten version of WinCompose is almost done. It will be version 0.7, not 1.0, because I have quite some additional things in mind for version 1.0.
Still a few things are broken, but it's coming around nicely. Here are the last things to do before we can release version 0.7:
This could be nice to have, but not a showstopper:
It's listed in sequences, but it doesn't work. The same applies to all Norwegian letters:
/o
, /ae
, /aa
. These opens menuitems (even when using Left-Control
as modifier). After the first keystroke, I see the menu becomes active and the rest gets sent there.
Other characters, like /z
works just fine.
The heavy refactoring lost the case insensitive sequence matching feature. It’s a bit tricky to reimplement now without writing some inelegant code, so let’s take our time to do it correctly.
When I try to run WinCompose-Setup-0.4.5.exe in a Win 7 (32bit) that is living inside a Virtualbox under linux (Ubuntu) it crashed with an error: "The NTVDM CPU has encountered an illegal instruction".
Use a Nullsoft installer for a release package instead?
Cheers, Helmut
I noticed this bug when trying to package portable version of WinCompose for Chocolatey - when you run WinCompose, it's reading res/
and po/
files from folders relative to current working directory. This means if I am (in console for example) at C:\
and run Apps\WinCompose\WinCompose.exe
it is trying to read C:\po
and C:\res
, so it's unable to load standard sequences.
In AutoHotKey there is A_ScriptDIr variable, maybe it should be used to use real paths to res and po folders?
The Compose key isn't intercepted by WinCompose in Adobe Photoshop.
Photoshop probably intercepts the key events, and doesn't seem to propagate the events to the system stack. I guess this is more an AHK issue.
Having to enter a number of milliseconds manually is not a good user experience. Implement a slider instead.
Quoting a WinCompose user:
I noticed that in the notes for version 0.4.2, you say "Better support
for GTK+ applications such as Pidgin." However, I am not able to get
WinCompose to work with Pidgin 2.10.11 on Windows 7. Is there a step
I'm missing somewhere to make it work with Pidgin? I used the
installer ("Setup") for v0.6.13.
When I press my compose key (left Windows to match my old Mac option
key), I see the WinCompose icon turn green in the systray, then I type
my sequence, and the icon turns back to black, but there is no
character inserted into my conversation window. I've tried changing my
compose key back to "Right Ctrl", and I've tried several different
sequences, but haven't had any luck.
This is a regression; this feature used to work before version 0.7.0.
Because the string
msgstr "Επιστροφή στη λειτουργία χωρίς διάκριση πεζών-κεφαλαίων, σε μη έγκυρες ακολουθίες"
has been split into two lines, is not shown translated.
If I use a character like ⓟ in Word 2010, the font changes to MS Gothic from whatever the default font is and then it does not change back to the original font.
Is this expected behaviour?
Is there a workaround?
Maybe this is a problem in Word?
Now that it’s become pretty usable, I’ve been wondering how to better promote WinCompose. Most Windows software websites look like gigantic ad-ridden spam platforms, unfortunately. I doubt anyone actually visits them. So, where to go?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.