Commit graph

3046 commits

Author SHA1 Message Date
yifang 3abe4ca062 ui:preference dialog,the top margin removed 2022-02-12 13:04:33 +08:00
yifang 71cd723985 ui:set interface(first tab) as default tab 2022-02-12 13:03:17 +08:00
Igor Kushnir d7ec541383 Add "Automatically scroll to target article" option
When a user clicks on a link in a dictionary or requests translation of
a word by double-clicking or translates selection via the context menu,
at first the article from the highest-priority dictionary is at the top.
Then, after approximately one second, the article from the dictionary,
out of which the translation was requested, becomes current and the view
scrolls down to this article placing it on top, hiding articles from the
dictionaries above it.

Such application behavior is inconvenient in some workflows so that the
user manually navigates to the top dictionary translation when this
automatic scrolling happens.

For example: a user has English->Russian dictionaries and
English->English dictionaries. The English->Russian dictionaries are
higher up in the dictionary order because they provide easier/faster to
understand translations. Some rare words and phrases are missing from
the English->Russian dictionaries however. Thus the user occasionally
reads the English explanation of a word/phrase. When the user
double-clicks on a word or follows a link in the English->English
dictionary article, she would rather see translations from the
preferable English->Russian dictionaries.

The new option allows to disable automatic scrolling and ensure that
articles from higher-priority dictionaries are visible. The option
doesn't affect backward/forward navigation via arrow buttons or
Alt+Arrow shortcuts: these still scroll to the stored vertical position
among articles. This remaining automatic scrolling happens much faster,
is not a problem for the described use case and hopefully for other use
cases.
2022-02-12 12:48:48 +08:00
xiaoyifang 796981fdb2
Update CHANGES.md 2022-02-12 12:10:29 +08:00
xiaoyifang 65d44529f0
Update CHANGES.md 2022-02-12 12:09:17 +08:00
xiaoyifang 2bf0628dff
Update CHANGES.md 2022-02-12 11:02:41 +08:00
yifang cf1f929430 action:opencc dependent on doxygen 2022-02-12 09:18:38 +08:00
yifang da5c2cf5c7 Merge remote-tracking branch 'origin/feature/update-libao' into staged 2022-02-12 09:07:55 +08:00
yifang 5d827d5a24 action:ubuntu update opencc version to latest 2022-02-12 09:07:28 +08:00
xiaoyifang 1f938149be
Update CHANGES.md 2022-02-12 08:00:58 +08:00
xiaoyifang f1ac774904 winlib: update ao lib 2022-02-11 23:14:34 +08:00
xiaoyifang 9781ecdbea update .gitignore file 2022-02-11 22:49:13 +08:00
xiaoyifang 709ae8ca3d winlib: update ao include file 2022-02-11 22:48:41 +08:00
xiaoyifang b41d7c727e winlib:update ao 2022-02-11 22:32:06 +08:00
xiaoyifang aaf36f8285
Update clang-format.yml 2022-02-11 22:09:44 +08:00
xiaoyifang 860cdbc467 winlib: update ao dll 2022-02-11 21:54:16 +08:00
xiaoyifang cc80b24b33 action: modify release name 2022-02-11 21:54:15 +08:00
xiaoyifang 1545e7312c opencc invalid characters ,when used in VS ,with SimpleConverter 2022-02-11 21:54:15 +08:00
xiaoyifang b7c2169695 winlib: update opencc to 2020-04-26 2022-02-11 21:54:14 +08:00
xiaoyifang d788ab9338
Update windows-publish.ps1 2022-02-11 15:58:13 +08:00
xiaoyifang b382a02ab0
Update clang-format.yml 2022-02-10 20:29:50 +08:00
yifang f6f0e25674 fix:double click translation ,right context menu invalid 2022-02-10 20:07:05 +08:00
yifang e1cb623d78 Merge branch 'staged' of github.com:xiaoyifang/goldendict into staged 2022-02-10 20:02:48 +08:00
xiaoyifang b53c187dd7
Merge branch 'goldendict:master' into staged 2022-02-10 20:01:53 +08:00
yifang a0dc91f86d format:add clang format file 2022-02-10 19:52:16 +08:00
xiaoyifang 5e8be7d9c6
Merge pull request #8 from codacy-badger/codacy-badge
Add a Codacy badge to README.md
2022-02-10 15:38:32 +08:00
xiaoyifang b728004926
Update clang-format.yml 2022-02-10 15:22:02 +08:00
xiaoyifang b6eb9f4c44
Update windows.yml 2022-02-10 14:27:41 +08:00
xiaoyifang a573eee572
Update ubuntu.yml 2022-02-10 14:27:23 +08:00
xiaoyifang bd35ea0781
Delete codeql-analysis.yml 2022-02-10 14:25:14 +08:00
The Codacy Badger 9e24d5a1a4 Add Codacy badge 2022-02-10 05:34:37 +00:00
xiaoyifang c034ccdec2
Update ubuntu.yml 2022-02-10 12:43:38 +08:00
xiaoyifang 8ec0f7ad93
Update windows.yml 2022-02-10 12:43:08 +08:00
yifang 0b29b65aca add useragent goldendict for compatible reason 2022-02-08 12:59:41 +08:00
xiaoyifang 35921c000a
Update index.md 2022-02-08 11:54:08 +08:00
xiaoyifang 4cd5f15277
Update index.md 2022-02-08 11:47:10 +08:00
xiaoyifang bee19644d9
Update index.md 2022-02-08 11:45:25 +08:00
yifang 577750aece action:check clang format workflow 2022-02-08 11:41:00 +08:00
yifang 8b2d6316ac jquery: noconflict compatibility 2022-02-08 07:56:48 +08:00
xiaoyifang 00faf9e889
Update clang-format.yml 2022-02-07 22:35:18 +08:00
xiaoyifang 38e0a29daf version:update version 2022-02-07 22:29:30 +08:00
xiaoyifang 6cf9c35dd4 ffmpeg: remove deprecated code 2022-02-07 21:06:49 +08:00
Jose Riha a35f9a14d0 Update Slovak translation 2022-02-06 16:38:37 +01:00
xiaoyifang 1d72c72791 winlib: update ffmpeg include files. 2022-02-06 18:30:57 +08:00
xiaoyifang 417bf693db action:add clang format check 2022-02-05 14:49:23 +08:00
xiaoyifang f654fdfa33
Update how to build ffmpeg for visual studio.md 2022-02-05 13:00:17 +08:00
xiaoyifang 71f26b2a15 Merge branch 'feature/winlib' into staged 2022-02-05 12:54:42 +08:00
xiaoyifang 516d9a0c55 howto: update build ffmped article 2022-02-05 12:50:20 +08:00
xiaoyifang 50156890aa winlib: update ffmpeg libs 2022-02-05 12:50:10 +08:00
xiaoyifang 685f50b41d action:code analysis workflow 2022-02-05 10:15:15 +08:00