https://bugs.winehq.org/show_bug.cgi?id=40554
Bug ID: 40554 Summary: AkelPad: [Coder plugin] with some themes the caret is invisible Product: Wine Version: 1.9.8 Hardware: x86-64 URL: https://sourceforge.net/projects/akelpad/files/AkelPad %204/4.9.7/x64/ OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: godevilove@ya.ru Distribution: Debian
OS: Debian 8.4 x64 Windows Manager: kde-window-manager 4:4.11.13-2 Wine: wine-development (multiarch) 1.9.5-3~bpo8+1 (from jessie-backports) AkelPad: 4.9.7 (x64)
STR: 1. Install/unpack AkelPad. 2. Settings>Plugins (or Alt+P), Doubleclick 'Coder::Settings'. 3. In the 'Theme name:' drop down list select any theme from this list: Mac Classic, Solarized Light, Lazy, iPlastic, Earth, Active4D, Default Bespin, Cobalt, Dawn, Monokai, Obsidian, Solarized Dark, SpaceCadet, Sunburst, Twilight or Zenburn. Also select 'Smart cache' in the drop down list at bottom and check the checkbox 'Alias for unknown file', so that you won't need to restart the program for the changes to get applied. 4. Settings>Plugins (or Alt+P), Doubleclick 'Coder::HighLight'.
Expected result: The caret should always be visible if the main input area is focused.
Actual result: The caret is not visible if you select any themes from the list above (the issue doesn't reproduce with other pre-installed themes).
https://bugs.winehq.org/show_bug.cgi?id=40554
godevilove godevilove@ya.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.9.8 |1.9.5
https://bugs.winehq.org/show_bug.cgi?id=40554
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- Plugin list is empty on Windows, do I need to install them separately? (I used zip archive if that matters)
https://bugs.winehq.org/show_bug.cgi?id=40554
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEEDINFO
--- Comment #2 from Nikolay Sivov bunglehead@gmail.com --- Ok, exe installer seems to provide plugins, but still I see no difference when switching themes. Please provide some details on how to use this thing.
https://bugs.winehq.org/show_bug.cgi?id=40554
--- Comment #3 from godevilove godevilove@ya.ru --- (In reply to Nikolay Sivov from comment #1)
Plugin list is empty on Windows, do I need to install them separately? (I used zip archive if that matters)
Sorry, forgot to note that about their distribution/packaging: installer installs AkelPad with all the plugins, while zip archives don't contain any plugins at all: you may manually download them from here http://akelpad.sourceforge.net/en/plugins.php and put them to your 'AkelPad/AkelFiles/Plugs/' dir and restart AkelPad to hook them up. Or an even easier solution: from that page just download AkelUpdater.exe and put it to your 'AkelPad/AkelFiles/' dir and then stop AkelPad.exe and run AkelUpdater.exe - it provides an interface to download plugins and scripts for AkelPad.
https://bugs.winehq.org/show_bug.cgi?id=40554
--- Comment #4 from godevilove godevilove@ya.ru --- (In reply to Nikolay Sivov from comment #2)
Ok, exe installer seems to provide plugins, but still I see no difference when switching themes. Please provide some details on how to use this thing.
Steps 3 and 4 from STR should've been enough for themes to get applied instantly. If that's not happening - you need to restart the program, but that's weird, since if you use 'smart cache' and ran Coder::Highlight - it should get applied instantly.
https://bugs.winehq.org/show_bug.cgi?id=40554
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|1 |0 Status|NEEDINFO |UNCONFIRMED
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- Yes, sorry. Looks like I skipped some necessary steps, it works on Windows.
https://bugs.winehq.org/show_bug.cgi?id=40554
--- Comment #6 from godevilove godevilove@ya.ru --- Sorry, but why did you remove 'Ever confirmed' status for this bug? I thought you were able to reproduce the issue…
https://bugs.winehq.org/show_bug.cgi?id=40554
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com --- Yes, I can confirm that, Solarized Dark shows not caret, and it does on Windows.
https://bugs.winehq.org/show_bug.cgi?id=40554
--- Comment #8 from godevilove godevilove@ya.ru --- I've just noticed that I've made a mistake in the initial post: [Default, Active4D, Earth, iPlastic, Lazy, Mac Classic, Solarized Light] - these themes have a visible caret. [Bespin, Cobalt, Dawn, Monokai, Obsidian, Solarized Dark, SpaceCadet, Sunburst, Twilight, Zenburn] - these themes don't have a visible caret.
It also turned out that the caret is visible only if it's black.
https://bugs.winehq.org/show_bug.cgi?id=40554
--- Comment #9 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 54402 --> https://bugs.winehq.org/attachment.cgi?id=54402 patch
Application creates custom caret bitmap as 'background ^ caretcolor', so when caret is displayed over background it gets proper color (background is not necessary solid filled, this is handled as well). We create a copy of this custom bitmap, but later it fails to display - bitmap fails select to target window context.
This patch fixes it for me, please give it a try.
https://bugs.winehq.org/show_bug.cgi?id=40554
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |user32
https://bugs.winehq.org/show_bug.cgi?id=40554
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download