Ошибка с установкой курсора при поиске

Добавил: MaksMerfy, 27 ноября 2022 20:53, обновлено: 27 ноября 2022 20:54

Раздел: Баги


При заходе в модуль ( все процедуры свернуты ), выделяешь наименование процедуры, копируешь, кликаешь на самую первую строку и нажимаешь ctrl+f, в открывшимся окне вставляешь текст для поиска и нажимаешь окей. В результате находится первый элемент и курсор куда то улетает.
Пример странного поведения :

Логи :

ProductVersion: 5.16.8291.28490
UAC: True
SystemInfo: Microsoft Windows NT 6.2.9200.0 x64
CPU: 16
RAM: 130732
Platform Version: 8.3.20.1789
Delay Multiplier: 10

[27.11.22 20:45:41:246] Скриптов загружено: удачно 55, неудачно: 0
[27.11.22 20:45:41:251] Subscribe to mouse events
[27.11.22 20:45:41:257] -------------------------------------------UIAutomation Focus Changed = MarketPlace
[27.11.22 20:45:43:268] Clear curLine due Mouse down
[27.11.22 20:45:43:268] Set CurText, length = 0
[27.11.22 20:45:43:615] MarketPlace
[27.11.22 20:45:43:615]
[27.11.22 20:45:43:615] list item
[27.11.22 20:45:43:616] GetUIAutomationCachedInfoAsync() 5ms, total calls 4566
[27.11.22 20:45:43:616] list item: list item
[27.11.22 20:45:43:616] Inspect Timer ControlType = list item
[27.11.22 20:45:43:616] panel.ClientRect:
[27.11.22 20:45:44:421] Clear curLine due Mouse down
[27.11.22 20:45:44:421] Set CurText, length = 0
[27.11.22 20:45:44:440] -------------------------------------------UIAutomation Focus Changed =
[27.11.22 20:45:44:440] -------------------------------------------UIAutomation Focus Changed =
[27.11.22 20:45:44:440] -------------------------------------------UIAutomation Focus Changed = ApacheKafkaSB
[27.11.22 20:45:44:738] ApacheKafkaSB
[27.11.22 20:45:44:738]
[27.11.22 20:45:44:738] list item
[27.11.22 20:45:44:738] GetUIAutomationCachedInfoAsync() 3ms, total calls 4567
[27.11.22 20:45:44:738] list item: list item
[27.11.22 20:45:44:738] Inspect Timer ControlType = list item
[27.11.22 20:45:44:738] panel.ClientRect:
[27.11.22 20:45:45:905] -------------------------------------------UIAutomation Focus Changed =
[27.11.22 20:45:47:626] Clear curLine due Mouse down
[27.11.22 20:45:47:626] Set CurText, length = 0
[27.11.22 20:45:47:716] -------------------------------------------UIAutomation Focus Changed =
[27.11.22 20:45:47:930] -------------------------------------------UIAutomation Focus Changed = Open
[27.11.22 20:45:47:941] -------------------------------------------UIAutomation Focus Changed = File name:
[27.11.22 20:45:47:943] -------------------------------------------UIAutomation Focus Changed = Open
[27.11.22 20:45:47:947] -------------------------------------------UIAutomation Focus Changed = File name:
[27.11.22 20:45:47:975] -------------------------------------------UIAutomation Focus Changed =
[27.11.22 20:45:49:270] Clear curLine due Mouse down
[27.11.22 20:45:49:270] Set CurText, length = 0
[27.11.22 20:45:49:350] -------------------------------------------UIAutomation Focus Changed = РегЗаданиеСозданиеВозвратовСмм
[27.11.22 20:45:49:354] -------------------------------------------UIAutomation Focus Changed = РегЗаданиеСозданиеВозвратовСмм
[27.11.22 20:45:49:405] Clear curLine due Mouse down
[27.11.22 20:45:49:405] Set CurText, length = 0
[27.11.22 20:45:49:493] -------------------------------------------UIAutomation Focus Changed =
[27.11.22 20:45:49:493] -------------------------------------------UIAutomation Focus Changed =
[27.11.22 20:45:49:793] GetUIAutomationCachedInfoAsync() 162ms, total calls 4568
[27.11.22 20:45:49:793] edit: edit
[27.11.22 20:45:49:793] Inspect Timer ControlType = edit
[27.11.22 20:45:49:793] panel.ClientRect:
[27.11.22 20:45:50:349] Clear curLine due Mouse down
[27.11.22 20:45:50:349] Set CurText, length = 0
[27.11.22 20:45:50:353] -------------------------------------------UIAutomation Focus Changed = Действия
[27.11.22 20:45:50:432] -------------------------------------------UIAutomation Focus Changed =
[27.11.22 20:45:50:630] -------------------------------------------UIAutomation Focus Changed = Справочная информация
[27.11.22 20:45:50:631] -------------------------------------------UIAutomation Focus Changed = Загрузить из файлов...
[27.11.22 20:45:50:648] -------------------------------------------UIAutomation Focus Changed = Выгрузить в файлы...
[27.11.22 20:45:50:724] -------------------------------------------UIAutomation Focus Changed = Сравнить, объединить с внешней обработкой, отчетом...
[27.11.22 20:45:50:772] -------------------------------------------UIAutomation Focus Changed = Открыть
[27.11.22 20:45:50:803] -------------------------------------------UIAutomation Focus Changed = Открыть основную форму
[27.11.22 20:45:50:937] -------------------------------------------UIAutomation Focus Changed = Открыть модуль объекта
[27.11.22 20:45:51:113] Clear curLine due Mouse down
[27.11.22 20:45:51:113] Set CurText, length = 0
[27.11.22 20:45:51:261] -------------------------------------------UIAutomation Focus Changed = Действия
[27.11.22 20:45:51:261] -------------------------------------------UIAutomation Focus Changed =
[27.11.22 20:45:51:734] GetUIAutomationCachedInfoAsync() 162ms, total calls 4569
[27.11.22 20:45:51:734] document: document
[27.11.22 20:45:51:734] Set NeedAddContextMenuWidth: False
[27.11.22 20:45:51:734] Set CurText, length = 13253
[27.11.22 20:45:51:734] CurLineRightPart ='Удалению);'
[27.11.22 20:45:51:734] curLine=' ОбщегоНазначенияУТ.УдалитьСтрокиТаблицыЗначений(ОстаткиТоваровПоСериям, СтрокиК'
[27.11.22 20:45:51:735] AutocompleteTemplate(): Result=false
[27.11.22 20:45:52:250] Clear curLine due Mouse down
[27.11.22 20:45:52:250] Set CurText, length = 0
[27.11.22 20:45:52:550] Clear curLine due Mouse down
[27.11.22 20:45:52:550] Set CurText, length = 0
[27.11.22 20:45:52:799] GetUIAutomationCachedInfoAsync() 250ms, total calls 4570
[27.11.22 20:45:52:799] document: document
[27.11.22 20:45:52:799] Set NeedAddContextMenuWidth: False
[27.11.22 20:45:52:799] curLine=''
[27.11.22 20:45:52:799] AutocompleteTemplate(): Result=false
[27.11.22 20:45:52:965] GetUIAutomationCachedInfoAsync() 166ms, total calls 4571
[27.11.22 20:45:52:965] document: document
[27.11.22 20:45:52:965] Set NeedAddContextMenuWidth: False
[27.11.22 20:45:52:965] curLine=''
[27.11.22 20:45:52:965] AutocompleteTemplate(): Result=false
[27.11.22 20:45:53:445] Clear curLine due Mouse down
[27.11.22 20:45:53:445] Set CurText, length = 0
[27.11.22 20:45:53:760] Clear curLine due Mouse down
[27.11.22 20:45:53:760] Set CurText, length = 0
[27.11.22 20:45:53:789] OnKeyDown LControlKey
[27.11.22 20:45:53:789] Set _TurboApiSingletone.Instance.LastKeyEventArgs=LControlKey
[27.11.22 20:45:53:789] Received await = None IsProcess=False, IsQueueInProgress=False, (70039,9317 ms) fg=e0fea title=D:\Личные папки\ДушкинМаксим\Обработки\РегЗаданиеСозданиеВозвратовСмм.epf: Модуль объекта - Конфигуратор - Управление торговлей, редакция 11 - [Разработка УТ СММ], KeyData=LControlKey
[27.11.22 20:45:53:789] Key down LControlKey has passed to window e0fea
[27.11.22 20:45:53:988] OnKeyDown C, Control
[27.11.22 20:45:53:988] Set _TurboApiSingletone.Instance.LastKeyEventArgs=C, Control
[27.11.22 20:45:53:988] Received await = None IsProcess=False, IsQueueInProgress=False, (70239,6053 ms) fg=e0fea title=D:\Личные папки\ДушкинМаксим\Обработки\РегЗаданиеСозданиеВозвратовСмм.epf: Модуль объекта - Конфигуратор - Управление торговлей, редакция 11 - [Разработка УТ СММ], KeyData=C, Control
[27.11.22 20:45:53:988] Key down C has passed to window e0fea
[27.11.22 20:45:53:989] GetUIAutomationCachedInfoAsync() 229ms, total calls 4572
[27.11.22 20:45:53:989] document: document
[27.11.22 20:45:53:989] Set NeedAddContextMenuWidth: False
[27.11.22 20:45:53:989] curLine=''
[27.11.22 20:45:53:989] AutocompleteTemplate(): Result=false
[27.11.22 20:45:53:989] OnKeyUp LControlKey, Control
[27.11.22 20:45:53:989] Received await = None IsProcess=False, IsQueueInProgress=False, (70240,6042 ms) fg=e0fea title=D:\Личные папки\ДушкинМаксим\Обработки\РегЗаданиеСозданиеВозвратовСмм.epf: Модуль объекта - Конфигуратор - Управление торговлей, редакция 11 - [Разработка УТ СММ], KeyData=LControlKey, Control
[27.11.22 20:45:53:989] Key up LControlKey has passed to window e0fea
[27.11.22 20:45:53:989] OnKeyUp C
[27.11.22 20:45:53:989] Received await = None IsProcess=False, IsQueueInProgress=False, (70240,6042 ms) fg=e0fea title=D:\Личные папки\ДушкинМаксим\Обработки\РегЗаданиеСозданиеВозвратовСмм.epf: Модуль объекта - Конфигуратор - Управление торговлей, редакция 11 - [Разработка УТ СММ], KeyData=C
[27.11.22 20:45:53:989] Key up C has passed to window e0fea
[27.11.22 20:45:54:221] GetUIAutomationCachedInfoAsync() 232ms, total calls 4573
[27.11.22 20:45:54:221] document: document
[27.11.22 20:45:54:221] Set NeedAddContextMenuWidth: False
[27.11.22 20:45:54:221] curLine=''
[27.11.22 20:45:54:221] AutocompleteTemplate(): Result=false
[27.11.22 20:45:54:389] GetUIAutomationCachedInfoAsync() 168ms, total calls 4574
[27.11.22 20:45:54:389] document: document
[27.11.22 20:45:54:389] Set NeedAddContextMenuWidth: False
[27.11.22 20:45:54:389] curLine=''
[27.11.22 20:45:54:389] AutocompleteTemplate(): Result=false
[27.11.22 20:45:54:603] Clear curLine due Mouse down
[27.11.22 20:45:54:603] Set CurText, length = 0
[27.11.22 20:45:55:059] OnKeyDown LControlKey
[27.11.22 20:45:55:059] Set _TurboApiSingletone.Instance.LastKeyEventArgs=LControlKey
[27.11.22 20:45:55:059] Received await = None IsProcess=False, IsQueueInProgress=False, (71310,1337 ms) fg=e0fea title=D:\Личные папки\ДушкинМаксим\Обработки\РегЗаданиеСозданиеВозвратовСмм.epf: Модуль объекта - Конфигуратор - Управление торговлей, редакция 11 - [Разработка УТ СММ], KeyData=LControlKey
[27.11.22 20:45:55:059] Key down LControlKey has passed to window e0fea
[27.11.22 20:45:55:122] GetUIAutomationCachedInfoAsync() 167ms, total calls 4575
[27.11.22 20:45:55:122] document: document
[27.11.22 20:45:55:122] Set NeedAddContextMenuWidth: False
[27.11.22 20:45:55:122] curLine=''
[27.11.22 20:45:55:122] AutocompleteTemplate(): Result=false
[27.11.22 20:45:55:211] OnKeyDown F, Control
[27.11.22 20:45:55:211] Set _TurboApiSingletone.Instance.LastKeyEventArgs=F, Control
[27.11.22 20:45:55:211] Received await = None IsProcess=False, IsQueueInProgress=False, (71461,8861 ms) fg=e0fea title=D:\Личные папки\ДушкинМаксим\Обработки\РегЗаданиеСозданиеВозвратовСмм.epf: Модуль объекта - Конфигуратор - Управление торговлей, редакция 11 - [Разработка УТ СММ], KeyData=F, Control
[27.11.22 20:45:55:212] Key down F has passed to window e0fea
[27.11.22 20:45:55:249] -------------------------------------------UIAutomation Focus Changed = Ис&кать:
[27.11.22 20:45:55:251] -------------------------------------------UIAutomation Focus Changed = Ис&кать:
[27.11.22 20:45:55:393] OnKeyUp F, Control
[27.11.22 20:45:55:393] Received await = None IsProcess=False, IsQueueInProgress=False, (71644,588 ms) fg=191172 title=Поиск, KeyData=F, Control
[27.11.22 20:45:55:393] Key up F has passed to window 191172
[27.11.22 20:45:55:743] OnKeyDown V, Control
[27.11.22 20:45:55:743] Set _TurboApiSingletone.Instance.LastKeyEventArgs=V, Control
[27.11.22 20:45:55:743] Received await = None IsProcess=False, IsQueueInProgress=False, (71994,0181 ms) fg=191172 title=Поиск, KeyData=V, Control
[27.11.22 20:45:55:743] Key down V has passed to window 191172
[27.11.22 20:45:55:744] GetUIAutomationCachedInfoAsync() 164ms, total calls 4576
[27.11.22 20:45:55:744] combo box: combo box
[27.11.22 20:45:55:744] Inspect Timer ControlType = combo box
[27.11.22 20:45:55:744] panel.ClientRect:
[27.11.22 20:45:55:744] OnKeyUp V, Control
[27.11.22 20:45:55:744] Received await = None IsProcess=False, IsQueueInProgress=False, (71995,017 ms) fg=191172 title=Поиск, KeyData=V, Control
[27.11.22 20:45:55:744] Key up V has passed to window 191172
[27.11.22 20:45:55:948] OnKeyUp LControlKey, Control
[27.11.22 20:45:55:949] Received await = None IsProcess=False, IsQueueInProgress=False, (72199,6827 ms) fg=191172 title=Поиск, KeyData=LControlKey, Control
[27.11.22 20:45:55:949] Key up LControlKey has passed to window 191172
[27.11.22 20:45:56:757] Clear curLine due Mouse down
[27.11.22 20:45:56:757] Set CurText, length = 0
[27.11.22 20:45:56:769] -------------------------------------------UIAutomation Focus Changed = Искать
[27.11.22 20:45:56:785] -------------------------------------------UIAutomation Focus Changed =
[27.11.22 20:45:57:101] Clear curLine due Mouse down
[27.11.22 20:45:57:101] Set CurText, length = 0
[27.11.22 20:45:57:102] Clear curLine due Mouse down
[27.11.22 20:45:57:102] Set CurText, length = 0
[27.11.22 20:45:57:104] Clear curLine due Mouse down
[27.11.22 20:45:57:104] Set CurText, length = 0
[27.11.22 20:45:57:360] GetUIAutomationCachedInfoAsync() 262ms, total calls 4577
[27.11.22 20:45:57:360] document: document
[27.11.22 20:45:57:360] Set NeedAddContextMenuWidth: False
[27.11.22 20:45:57:360] Set CurText, length = 13253
[27.11.22 20:45:57:360] CurLineRightPart ='едуры'
[27.11.22 20:45:57:360] curLine='КонецПроц'
[27.11.22 20:45:57:360] AutocompleteTemplate(): Result=false
[27.11.22 20:45:57:515] GetUIAutomationCachedInfoAsync() 154ms, total calls 4578
[27.11.22 20:45:57:515] document: document
[27.11.22 20:45:57:515] Set NeedAddContextMenuWidth: False
[27.11.22 20:45:57:515] curLine='КонецПроц'
[27.11.22 20:45:57:515] AutocompleteTemplate(): Result=false
[27.11.22 20:46:04:344] Clear curLine due Mouse down
[27.11.22 20:46:04:344] Set CurText, length = 0
[27.11.22 20:46:04:721] -------------------------------------------UIAutomation Focus Changed = DropDown
[27.11.22 20:46:04:728] -------------------------------------------UIAutomation Focus Changed = Авторский комментарий
[27.11.22 20:46:04:732] -------------------------------------------UIAutomation Focus Changed = Авторский комментарий
[27.11.22 20:46:04:738] -------------------------------------------UIAutomation Focus Changed = Авторский комментарий
[27.11.22 20:46:04:745] -------------------------------------------UIAutomation Focus Changed = Шаблоны кода
[27.11.22 20:46:04:776] -------------------------------------------UIAutomation Focus Changed = Окружить фрагмент...
[27.11.22 20:46:04:838] -------------------------------------------UIAutomation Focus Changed = Выровнять блок
[27.11.22 20:46:04:884] -------------------------------------------UIAutomation Focus Changed = Форматировать весь текст
[27.11.22 20:46:04:899] -------------------------------------------UIAutomation Focus Changed = Дублировать строку
[27.11.22 20:46:04:932] -------------------------------------------UIAutomation Focus Changed = Конструктор ТаблицыЗначений...
[27.11.22 20:46:04:963] -------------------------------------------UIAutomation Focus Changed = Генерировать метод
[27.11.22 20:46:04:978] -------------------------------------------UIAutomation Focus Changed = Генерировать код объекта/строки
[27.11.22 20:46:05:009] -------------------------------------------UIAutomation Focus Changed = Генерировать параметры запроса
[27.11.22 20:46:05:074] -------------------------------------------UIAutomation Focus Changed = Переименовать...
[27.11.22 20:46:05:143] -------------------------------------------UIAutomation Focus Changed = Извлечь метод...
[27.11.22 20:46:05:183] -------------------------------------------UIAutomation Focus Changed = Навигатор по метаданным...
[27.11.22 20:46:05:197] -------------------------------------------UIAutomation Focus Changed = Менеджер окон...
[27.11.22 20:46:05:228] -------------------------------------------UIAutomation Focus Changed = Процедуры и функции...
[27.11.22 20:46:05:263] -------------------------------------------UIAutomation Focus Changed = Инспектор модуля...
[27.11.22 20:46:05:338] -------------------------------------------UIAutomation Focus Changed = ToDo Навигатор...
[27.11.22 20:46:05:369] -------------------------------------------UIAutomation Focus Changed = Расширенный поиск по модулю...
[27.11.22 20:46:05:416] -------------------------------------------UIAutomation Focus Changed = OneTracker...
[27.11.22 20:46:05:446] -------------------------------------------UIAutomation Focus Changed = Показать/Скрыть имя инф. базы
[27.11.22 20:46:05:480] -------------------------------------------UIAutomation Focus Changed = Обновить кэш объектов конфигурации
[27.11.22 20:46:05:510] -------------------------------------------UIAutomation Focus Changed = Скрипты
[27.11.22 20:46:05:596] -------------------------------------------UIAutomation Focus Changed = Настройки...
[27.11.22 20:46:05:903] -------------------------------------------UIAutomation Focus Changed = Скрипты
[27.11.22 20:46:06:168] -------------------------------------------UIAutomation Focus Changed = Настройки...
[27.11.22 20:46:06:198] -------------------------------------------UIAutomation Focus Changed = Горячие клавиши...
[27.11.22 20:46:06:245] -------------------------------------------UIAutomation Focus Changed = Информация о системе...
[27.11.22 20:46:06:463] -------------------------------------------UIAutomation Focus Changed = Лог...
[27.11.22 20:46:06:676] Clear curLine due Mouse down
[27.11.22 20:46:06:676] Set CurText, length = 0
[27.11.22 20:46:06:746] OnKeyUp LControlKey
[27.11.22 20:46:06:746] Received await = None IsProcess=False, IsQueueInProgress=False, (82997,1494 ms) fg=b603f6 title=TurboIcon, KeyData=LControlKey
[27.11.22 20:46:06:746] Key up LControlKey has passed to window b603f6


К списку тем

Комментарии

bolsun
29 ноября 2022 15:24: #1

Это при работающем ТурбоКонф такое поведение? Если без запущенного ТурбоКонф проверить, то не перескакивает?


MaksMerfy
29 ноября 2022 16:56: #2

(1) bolsun, Добрый день, такое поведение случается только при активном турбоконфе.
Прикладываю видео без него и после его запуска
2022-11-29 16-54-05.mkv


bolsun
29 ноября 2022 17:16: #3

У себя не могу воспроизвести такое поведение. Есть возможность подключиться удаленно?


MaksMerfy
29 ноября 2022 17:19: #4

(3) bolsun, напишите в телеграмм @MaksMerfys обдумаем


bolsun
29 ноября 2022 17:43: #5

Проблема была вызвана срабатыванием функции "перейти к определению" по Ctrl+Click при выделении текста с контрол.


bolsun
29 ноября 2022 17:43: #6

bolsun изменил статус на Закрыто


TurboConf

Расширение возможностей

Конфигуратора 1С

Скачать

Бесплатный пробный период 14 дней