View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001514 | NoesisGUI | C++ SDK | public | 2019-07-04 08:54 | 2019-07-18 21:23 |
| Reporter | nikobarli | Assigned To | sfernandez | ||
| Priority | normal | Severity | major | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | 2.2.3 | ||||
| Target Version | 2.2.4 | Fixed in Version | 2.2.4 | ||
| Summary | 0001514: [TSF] Candidate window is always shown even if the focus is not on TextBox or any input related control | ||||
| Description |
<Grid></Grid>
I expect that the candidate window is not shown, because we are not focusing to any input element. | ||||
| Attached Files | |||||
| Platform | Any | ||||
|
The problem was that TSF was not initially disabled when initialized. You can change TSF::Init to use disabled document manager on start: void TSF::Init() We will update our code for next release. |
|
|
Hi, the fix you mentioned avoid the candidate window appearing on initial application startup. |
|
|
There was another disable code missing in TSF::MoveWindow: void TSF::MoveWindow(void* hWnd) This should fix it, could you please confirm it works as expected in your application? |
|
|
Hhhmhh, it fixed the scenario I mentioned above. For example, normally I can type 'kanji' which will be shown as 'かんじ', then I use space key to select how I convert those hiraganas into a kanji e.g. 漢字 or 幹事. |
|
|
I can't reproduce your scenario, I can type the whole 'kanji' word and the candidate window does not close. |
|
|
No, TSF::HideKeyboard is not being called. If I removed the line
from TSF::Init() and let the following lines in TSF::MoveWindow()
then it works. Maybe the gThreadMgr->SetFocus() shouldn't be called at the Init() timing ? |
|
|
TSF::MoveWindow would always be called when the application starts and activates the main window because we found that enabling a TSF document was not working while handling the WM_ACTIVATE message so we forced a WM_EXITSIZEMOVE message to do that. I guess then that it is safe to leave the Disable code only in the MoveWindow function if it is working for you that way. To be honest Text Service Framework documentation is so minimal and horrible that developing this is mostly by try and error if you are not able to find a similar example in the web. We will update our application framework as you suggested, thanks a lot for the feedback. |
|
|
Hi Sergio, Ok, thanks for the support. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2019-07-04 08:54 | nikobarli | New Issue | |
| 2019-07-04 08:54 | nikobarli | File Added: TSFCandidateWindow.PNG | |
| 2019-07-04 14:57 | jsantos | Target Version | => 2.2.4 |
| 2019-07-04 14:57 | jsantos | Description Updated | |
| 2019-07-04 14:57 | jsantos | Assigned To | => sfernandez |
| 2019-07-04 14:57 | jsantos | Status | new => assigned |
| 2019-07-05 17:19 | sfernandez | Status | assigned => feedback |
| 2019-07-05 17:19 | sfernandez | Note Added: 0005810 | |
| 2019-07-05 17:20 | sfernandez | Note Edited: 0005810 | |
| 2019-07-09 10:55 | nikobarli | Note Added: 0005816 | |
| 2019-07-09 10:55 | nikobarli | Status | feedback => assigned |
| 2019-07-09 10:56 | nikobarli | Note Edited: 0005816 | |
| 2019-07-09 14:24 | sfernandez | Status | assigned => feedback |
| 2019-07-09 14:24 | sfernandez | Note Added: 0005817 | |
| 2019-07-09 14:56 | nikobarli | Note Added: 0005818 | |
| 2019-07-09 14:56 | nikobarli | Status | feedback => assigned |
| 2019-07-09 14:56 | nikobarli | Note Edited: 0005818 | |
| 2019-07-09 15:56 | sfernandez | Status | assigned => feedback |
| 2019-07-09 15:56 | sfernandez | Note Added: 0005819 | |
| 2019-07-10 06:50 | nikobarli | Note Added: 0005835 | |
| 2019-07-10 06:50 | nikobarli | Status | feedback => assigned |
| 2019-07-10 06:51 | nikobarli | Note Edited: 0005835 | |
| 2019-07-11 12:54 | sfernandez | Status | assigned => feedback |
| 2019-07-11 12:54 | sfernandez | Note Added: 0005840 | |
| 2019-07-12 01:25 | nikobarli | Note Added: 0005844 | |
| 2019-07-12 01:25 | nikobarli | Status | feedback => assigned |
| 2019-07-18 21:23 | sfernandez | Status | assigned => resolved |
| 2019-07-18 21:23 | sfernandez | Resolution | open => fixed |
| 2019-07-18 21:23 | sfernandez | Fixed in Version | => 2.2.4 |