alvinhochun (Alvin Wong)
User

Projects (8)

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Thursday

  • Clear sailing ahead.

User Details

User Since
Jun 19 2016, 12:39 PM (404 w, 1 d)
Availability
Available

Recent Activity

Aug 30 2023

alvinhochun added a comment to T16862: Requirements for dependent shapes framework.

Also need to consider flowing text in multiple shapes, and shape-subtract.

Aug 30 2023, 7:21 PM · Krita
alvinhochun updated the task description for T16862: Requirements for dependent shapes framework.
Aug 30 2023, 7:06 PM · Krita

Apr 17 2023

alvinhochun added a comment to T16346: Krita dependencies management issues.

I haven't built the deps in quite a while but I'll try to respond a bit from what I remember that hopefully isn't too outdated:

Apr 17 2023, 3:31 PM · Krita

Mar 9 2023

alvinhochun added a comment to T15245: Performance improvements plans for Resource Rewrite.

You should call QSqlQuery::finish to release the result cursor and stuff. The prepared statement itself shouldn't take much memory.

Mar 9 2023, 10:37 AM · Krita
alvinhochun added a comment to T15245: Performance improvements plans for Resource Rewrite.

If you, say for example, want to insert multiple records in a loop, you would prepare the statement once, then reuse it by binding different values and then executing it in the loop. But I'm guessing the cases that show up in your profiling is more complex than simple loops and would require persisting the QSqlQuery in global scope to fix.

Mar 9 2023, 10:17 AM · Krita

Nov 24 2022

alvinhochun added a comment to T14731: Update design/content on krita.org.

Then I have some questions regarding i18n:

  • The extracted krita-org.po seems to contain various strings from config.yaml and i18n/en.yaml, but I see that these strings can also be translated in config.yaml directly or with i18n/<language>.yaml. Which method should be preferred?

You don't translate any YAML file, only translate PO files.

Nov 24 2022, 1:19 PM · Krita

Nov 22 2022

alvinhochun added a comment to T14731: Update design/content on krita.org.

From a quick look, I see an issue with the handling of Chinese -- the old site has historically used the language code zh for Simplified Chinese, however the code is zh_CN in KDE's i18n system, which seems to result in both zh and zh-cn being available on the language dropdown. Personally I would prefer changing the new site to canonically use zh-cn for Simplified Chinese (though you should weigh @tysontan's opinion over mine). If we do this we probably need redirects to point old links from /zh/ to /zh-cn/.

Nov 22 2022, 7:04 AM · Krita

Nov 21 2022

alvinhochun added a comment to T14731: Update design/content on krita.org.

Some points with Krita integration:

Nov 21 2022, 4:58 PM · Krita

May 24 2022

alvinhochun updated the task description for T15537: Tests failures on various platforms and GitLab CI.
May 24 2022, 1:31 PM · Krita

May 21 2022

alvinhochun updated the task description for T15537: Tests failures on various platforms and GitLab CI.
May 21 2022, 5:00 PM · Krita
alvinhochun created T15537: Tests failures on various platforms and GitLab CI.
May 21 2022, 3:09 PM · Krita
alvinhochun updated the task description for T15455: [RFC] Update Windows Build Toolchain.
May 21 2022, 12:18 PM · Krita

May 7 2022

alvinhochun updated the task description for T15455: [RFC] Update Windows Build Toolchain.
May 7 2022, 9:41 AM · Krita

Apr 27 2022

alvinhochun added a comment to T15455: [RFC] Update Windows Build Toolchain.

It is possible to build or cross-compile the whole toolchain ourselves with the scripts in https://github.com/mstorsjo/llvm-mingw, but I'd rather not do that... Note that MSYS2 is "only" an environment that provides some GNU tools and compiler toolchains based on mingw-w64. The current mingw-builds toolchain we use isn't affiliated with MSYS2 either. Obviously the different parties cooperate with mingw-w64 but neither are the official mingw-w64 toolchain and mingw-w64 does not make an official toolchain. So we either work with prebuilt toolchains, or compile everything manually.

Apr 27 2022, 11:03 AM · Krita
alvinhochun claimed T15455: [RFC] Update Windows Build Toolchain.

Okay, Halla gave the approval on IRC. Dmitry won't be around for a while but in MR !1372 he agreed to switching to Clang so I think he should be fine with this too. We can start the transition after Halla has finished making the 5.0.6 release this week.

Apr 27 2022, 8:05 AM · Krita

Apr 26 2022

alvinhochun added a comment to T15455: [RFC] Update Windows Build Toolchain.

I use gdb to debug the llvm build, because lldb doesn't yet know how to read the split debug info (I always test with the packaged build instead of running from the install prefix directly).

Apr 26 2022, 4:23 PM · Krita
alvinhochun updated the task description for T15455: [RFC] Update Windows Build Toolchain.
Apr 26 2022, 7:33 AM · Krita

Apr 19 2022

alvinhochun updated the task description for T15455: [RFC] Update Windows Build Toolchain.
Apr 19 2022, 8:16 AM · Krita

Apr 18 2022

alvinhochun created T15455: [RFC] Update Windows Build Toolchain.
Apr 18 2022, 12:48 PM · Krita

Feb 16 2022

alvinhochun added a comment to T13339: QML version of Krita.

QML and our docker plugin stuff conflict.

This one's a bit odd. But basically, if you want to create a QML component with a lot of C++ logic, you need to register it with a QQmlExtensionPlugin, which requires Q_PLUGIN_METADATA(IID QQmlEngineExtensionInterface_iid) to be set. Apparantly our docker plugin stuff also uses Q_PLUGIN_METADATA, and you're only allowed to have one per library at a time. I solved this for now by sticking all the files I needed into sketch plugin.

This is kind of annoying however, because it means we either need to do all our bussiness logic outside the QML file and stick in the information we need (by setting QVariant properties), or all our bussiness logic qml components goes to whatever place we designate for our qml components instead of the docker/plugin that they're intended for.

Feb 16 2022, 9:13 AM · Krita

Feb 15 2022

alvinhochun added a comment to T14170: Porting Krita's OpenGL canvas to Qt6.

Vcpkg seems to have a cmake build config for a somewhat recent version of ANGLE (at least way more recent than the one inside Qt 5.12), if needed we may try to use it: https://github.com/microsoft/vcpkg/tree/master/ports/angle

Feb 15 2022, 9:35 AM · Krita

Feb 14 2022

alvinhochun added a comment to T15279: What should happen to disabling "Canvas Graphics Acceleration" and QPainter canvas.
Are we going to port the QPainter canvas to QtQuick2 too? (T13339)

No

Feb 14 2022, 4:19 PM · Krita

Feb 13 2022

alvinhochun added a comment to T15279: What should happen to disabling "Canvas Graphics Acceleration" and QPainter canvas.

Shall we make sure that Krita really does not use OpenGL for the rest of the UI when "Canvas Graphics Acceleration" is disabled?

Feb 13 2022, 3:55 PM · Krita
alvinhochun created T15279: What should happen to disabling "Canvas Graphics Acceleration" and QPainter canvas.
Feb 13 2022, 3:53 PM · Krita
alvinhochun added a comment to T13339: QML version of Krita.

In the past two weeks I did a bit of experimentation with QtQuick2 and the canvas which resulted in two MR's:

Feb 13 2022, 1:28 PM · Krita
alvinhochun triaged T15278: Enable MSIX nightlies to be installed side by side with other versions as Low priority.
Feb 13 2022, 8:52 AM · Krita

Jan 24 2022

alvinhochun added a comment to T14865: Audit and upgrade OpenGL version and canvas code.

Will also need to check what the small color selector really needs: https://invent.kde.org/graphics/krita/-/merge_requests/1308#note_384330

Jan 24 2022, 4:05 PM · Krita

Jan 20 2022

alvinhochun added a comment to T8198: Extend the text tool..

Re colour font, we already have a related bug report (sort of): https://bugs.kde.org/show_bug.cgi?id=439908

Jan 20 2022, 12:27 PM · Krita: Abyss

Jan 9 2022

alvinhochun updated subscribers of T14731: Update design/content on krita.org.

Not many ideas on the design, but would say I don't quite like how localization is done with the current front page and download page, which is with a fixed template and translating each sentence or paragraph with gettext. It limits what we can do with the localized version of the page.

Jan 9 2022, 3:38 PM · Krita

Sep 23 2021

alvinhochun added a comment to T14865: Audit and upgrade OpenGL version and canvas code.

I recall there being an ANGLE-specific extension GL_EXT_texture_format_BGRA8888 (maybe that's not really ANGLE-specific...) that we need to render textures in this format on OpenGL ES.

Sep 23 2021, 4:38 PM · Krita

Sep 10 2021

alvinhochun added a comment to T14865: Audit and upgrade OpenGL version and canvas code.

Do we really support OpenGL ES 2 at all? On Windows we require Direct3D 11 which is needed to get OpenGL ES 3 with ANGLE.

Sep 10 2021, 3:45 PM · Krita

Aug 29 2021

alvinhochun added a comment to T14835: A few Chinese string updates to krita.org.

Hi @scottpetrovic, the current zh-hk and zh-tw strings are fine. We don't necessarily need to sync with zh (zh-cn).

Aug 29 2021, 11:02 AM · Krita

Aug 5 2021

alvinhochun added a comment to T14704: Krita.org - update wording/description for Krita Next and Krita Plus.

Hi @scottpetrovic I noticed that the description for "Krita Next" doesn't seem to be using the custom variable. It's in English for zh-hk and zh-tw.

Aug 5 2021, 4:09 PM · Krita

Jul 13 2021

alvinhochun added a comment to T14704: Krita.org - update wording/description for Krita Next and Krita Plus.

Might be worth making the message more generic so we can switch back and fro without having to write a new one every time?

Jul 13 2021, 8:09 AM · Krita

Jun 21 2021

alvinhochun added a comment to T14594: Update Krita download page to point to 32-bit versions.

New versions of Krita on Windows do not support 32-bit.

  1. 新版 Krita 已經不再支援 32 位元的 Windows。
  2. 新版嘅 Krita 已經唔再支援 32 位元嘅 Windows。
Jun 21 2021, 10:58 AM · Krita

Jun 17 2021

alvinhochun added a comment to T14594: Update Krita download page to point to 32-bit versions.

I think it can also specify "Windows" because that's the last 32-bit OS we supported.

Jun 17 2021, 1:05 PM · Krita

Mar 5 2021

alvinhochun added a comment to T14170: Porting Krita's OpenGL canvas to Qt6.
Would it be possible to make use of something like Vulkan + [[ https://github.com/KhronosGroup/MoltenVK | MoltenVK for Mac]] sort or like how we currently use OpenGL + ANGLE for Windows? I've heard that Vulkan has a bit of initial setup, but I'd imagine it'd be more efficient than maintaining 3 different rendering backends.
Mar 5 2021, 9:24 AM · Krita

Dec 25 2020

alvinhochun added a comment to T13823: Adjust styling of language selector.

An unrelated issue: I just noticed that the language selector does not show up when page width is somewhere between small and large.

Dec 25 2020, 8:24 AM · Krita: Website and Translations

Oct 30 2020

alvinhochun created T13823: Adjust styling of language selector.
Oct 30 2020, 8:42 AM · Krita: Website and Translations

Jun 15 2020

alvinhochun committed R37:46d555d9878c: Add ext_qt patch for Windows to support fractional DPI scaling (authored by alvinhochun).
Add ext_qt patch for Windows to support fractional DPI scaling
Jun 15 2020, 8:56 PM
alvinhochun committed R37:8ff9e8dc3fa8: Remove "EXPERIMENTAL" wording for WinInk in settings (authored by alvinhochun).
Remove "EXPERIMENTAL" wording for WinInk in settings
Jun 15 2020, 8:56 PM
alvinhochun committed R37:c53fa0328482: Fix 'Fit Page' under fractional DPI scaling (authored by alvinhochun).
Fix 'Fit Page' under fractional DPI scaling
Jun 15 2020, 8:54 PM
alvinhochun committed R37:5daeac0a0e82: Fix display profile update when moving across screens (authored by alvinhochun).
Fix display profile update when moving across screens
Jun 15 2020, 8:54 PM
alvinhochun committed R37:30042b700d12: Add scripts and manifests for building MSIX for Windows Store (authored by alvinhochun).
Add scripts and manifests for building MSIX for Windows Store
Jun 15 2020, 8:36 PM
alvinhochun committed R37:a97f650c4028: Add scripts and manifests for building MSIX for Windows Store (authored by alvinhochun).
Add scripts and manifests for building MSIX for Windows Store
Jun 15 2020, 8:36 PM
alvinhochun committed R37:1ff79217b0bb: Merge branch 'msix' into 'master' (authored by alvinhochun).
Merge branch 'msix' into 'master'
Jun 15 2020, 8:35 PM
alvinhochun committed R37:20d1e922177e: Win installer: Split strings into its own file (authored by alvinhochun).
Win installer: Split strings into its own file
Jun 15 2020, 8:35 PM
alvinhochun committed R37:8623c9f62ea7: Win installer: Combine desktop icon page and confirm page (authored by alvinhochun).
Win installer: Combine desktop icon page and confirm page
Jun 15 2020, 8:35 PM
alvinhochun committed R37:3279aa9d8124: Win installer: Fix deletion of localized shortcut (authored by alvinhochun).
Win installer: Fix deletion of localized shortcut
Jun 15 2020, 8:35 PM
alvinhochun committed R37:8ac85a6a25d3: Win installer: Remove prompt regarding separate shell extension (authored by alvinhochun).
Win installer: Remove prompt regarding separate shell extension
Jun 15 2020, 8:35 PM
alvinhochun committed R37:4938f90dbe15: Win installer: Simplify ancient version handling to reduce strings (authored by alvinhochun).
Win installer: Simplify ancient version handling to reduce strings
Jun 15 2020, 8:35 PM
alvinhochun committed R37:7e913479ee06: Win installer: Reduce the amount of strings to translate (authored by alvinhochun).
Win installer: Reduce the amount of strings to translate
Jun 15 2020, 8:35 PM
alvinhochun committed R37:ad3f8e23d50b: Win installer: Extract strings to prepare for translation (authored by alvinhochun).
Win installer: Extract strings to prepare for translation
Jun 15 2020, 8:35 PM
alvinhochun committed R37:112b980c1d9c: Bump Windows installer NSIS version to 3.05 (authored by alvinhochun).
Bump Windows installer NSIS version to 3.05
Jun 15 2020, 8:35 PM
alvinhochun committed R37:d0b1e6362148: Win installer: Stop adding the "Uninstall Krita" item to the Start Menu (authored by alvinhochun).
Win installer: Stop adding the "Uninstall Krita" item to the Start Menu
Jun 15 2020, 8:35 PM
alvinhochun committed R37:a5d234a65258: Win installer: Make some changes to the strings (authored by alvinhochun).
Win installer: Make some changes to the strings
Jun 15 2020, 8:35 PM
alvinhochun committed R37:9a9294700955: Win installer: Add tentative Trad. Chinese translations (authored by alvinhochun).
Win installer: Add tentative Trad. Chinese translations
Jun 15 2020, 8:35 PM
alvinhochun committed R37:d3f1b7863073: Win installer: Split strings into its own file (authored by alvinhochun).
Win installer: Split strings into its own file
Jun 15 2020, 8:35 PM
alvinhochun committed R37:f9385b4db26c: Win installer: Combine desktop icon page and confirm page (authored by alvinhochun).
Win installer: Combine desktop icon page and confirm page
Jun 15 2020, 8:35 PM
alvinhochun committed R37:d451843adc1a: Win installer: Remove prompt regarding separate shell extension (authored by alvinhochun).
Win installer: Remove prompt regarding separate shell extension
Jun 15 2020, 8:35 PM
alvinhochun committed R37:a75e42e8f36f: Win installer: Fix deletion of localized shortcut (authored by alvinhochun).
Win installer: Fix deletion of localized shortcut
Jun 15 2020, 8:35 PM
alvinhochun committed R37:9037c16a33a4: Win installer: Reduce the amount of strings to translate (authored by alvinhochun).
Win installer: Reduce the amount of strings to translate
Jun 15 2020, 8:35 PM
alvinhochun committed R37:c03e60a75a28: Win installer: Extract strings to prepare for translation (authored by alvinhochun).
Win installer: Extract strings to prepare for translation
Jun 15 2020, 8:35 PM
alvinhochun committed R37:bdc37fd1943f: Win installer: Simplify ancient version handling to reduce strings (authored by alvinhochun).
Win installer: Simplify ancient version handling to reduce strings
Jun 15 2020, 8:35 PM
alvinhochun committed R37:fbbda4baa5d3: Bump Windows installer NSIS version to 3.05 (authored by alvinhochun).
Bump Windows installer NSIS version to 3.05
Jun 15 2020, 8:35 PM
alvinhochun committed R37:799802354174: Merge branch 'nsis-localization' into 'master' (authored by alvinhochun).
Merge branch 'nsis-localization' into 'master'
Jun 15 2020, 8:35 PM
alvinhochun committed R37:6d6c95227f69: Update NSIS installer to provide TC and SC translations (authored by alvinhochun).
Update NSIS installer to provide TC and SC translations
Jun 15 2020, 8:35 PM
alvinhochun committed R37:924764286dea: Merge branch 'nsis-for-4.3.0-squashed' into 'krita/4.3.0' (authored by alvinhochun).
Merge branch 'nsis-for-4.3.0-squashed' into 'krita/4.3.0'
Jun 15 2020, 8:35 PM
alvinhochun committed R37:84c49620542b: Merge branch 'nsis-for-4.3.0' into 'krita/4.3.0' (authored by alvinhochun).
Merge branch 'nsis-for-4.3.0' into 'krita/4.3.0'
Jun 15 2020, 8:34 PM
alvinhochun committed R37:ae013c966de6: Win installer: Bump to use new patched NSIS 3.05 (authored by alvinhochun).
Win installer: Bump to use new patched NSIS 3.05
Jun 15 2020, 8:33 PM
alvinhochun committed R37:08bdfe561e80: Win installer: Update hash for patched NSIS package (authored by alvinhochun).
Win installer: Update hash for patched NSIS package
Jun 15 2020, 8:32 PM
alvinhochun committed R37:1a1756eff5fc: Win installer: Bump to use new patched NSIS 3.05 (authored by alvinhochun).
Win installer: Bump to use new patched NSIS 3.05
Jun 15 2020, 8:32 PM

Jun 11 2020

alvinhochun triaged T13266: Make NSIS installer translatable via KDE's translation workflow as Normal priority.
Jun 11 2020, 10:32 AM · Krita: Releases

Jun 5 2020

alvinhochun committed R37:68b2438d1b7d: Update NSIS installer to provide TC and SC translations (authored by alvinhochun).
Update NSIS installer to provide TC and SC translations
Jun 5 2020, 8:59 AM
alvinhochun committed R37:8130dce97a47: Win installer: Make uninstaller prompt show in correct language (authored by alvinhochun).
Win installer: Make uninstaller prompt show in correct language
Jun 5 2020, 8:04 AM
alvinhochun committed R37:e4db3ce4e05f: Win installer: Skip language selection dialog in silent mode (authored by alvinhochun).
Win installer: Skip language selection dialog in silent mode
Jun 5 2020, 7:32 AM
alvinhochun committed R37:17f47918e9c7: Win installer: Reuse language on uninstall (authored by alvinhochun).
Win installer: Reuse language on uninstall
Jun 5 2020, 7:32 AM

Jun 4 2020

alvinhochun committed R37:dbf24cc8e3f6: Win installer: Fix using the translation files (authored by alvinhochun).
Win installer: Fix using the translation files
Jun 4 2020, 12:40 PM
alvinhochun committed R37:c6581b15864c: Win installer: Fix makensis invocation (authored by alvinhochun).
Win installer: Fix makensis invocation
Jun 4 2020, 11:15 AM
alvinhochun committed R37:923a9a7122ab: Merge branch 'nsis-localization' (authored by alvinhochun).
Merge branch 'nsis-localization'
Jun 4 2020, 9:22 AM
alvinhochun committed R37:109309b481ca: Add S-Chinese translation to NSIS installer. (authored by tysontan).
Add S-Chinese translation to NSIS installer.
Jun 4 2020, 9:22 AM
alvinhochun committed R37:859609a79157: Win installer: Include Simp. Chinese translation (authored by alvinhochun).
Win installer: Include Simp. Chinese translation
Jun 4 2020, 9:22 AM
alvinhochun committed R37:a4cfe5861757: Win installer: Make some changes to the strings (authored by alvinhochun).
Win installer: Make some changes to the strings
Jun 4 2020, 9:22 AM
alvinhochun committed R37:ed49fff88f9f: Win installer: Stop adding the "Uninstall Krita" item to the Start Menu (authored by alvinhochun).
Win installer: Stop adding the "Uninstall Krita" item to the Start Menu
Jun 4 2020, 9:22 AM
alvinhochun committed R37:000ad10e9444: Win installer: Add tentative Trad. Chinese translations (authored by alvinhochun).
Win installer: Add tentative Trad. Chinese translations
Jun 4 2020, 9:22 AM
alvinhochun committed R37:7ea17bf85736: Win installer: Remove prompt regarding separate shell extension (authored by alvinhochun).
Win installer: Remove prompt regarding separate shell extension
Jun 4 2020, 9:22 AM
alvinhochun committed R37:9713ef5f6330: Win installer: Split strings into its own file (authored by alvinhochun).
Win installer: Split strings into its own file
Jun 4 2020, 9:22 AM
alvinhochun committed R37:b31446819d9c: Win installer: Combine desktop icon page and confirm page (authored by alvinhochun).
Win installer: Combine desktop icon page and confirm page
Jun 4 2020, 9:22 AM
alvinhochun committed R37:a06bc489cb1a: Win installer: Fix deletion of localized shortcut (authored by alvinhochun).
Win installer: Fix deletion of localized shortcut
Jun 4 2020, 9:21 AM
alvinhochun committed R37:97e7841a786a: Win installer: Reduce the amount of strings to translate (authored by alvinhochun).
Win installer: Reduce the amount of strings to translate
Jun 4 2020, 9:21 AM
alvinhochun committed R37:c2c850f50708: Win installer: Simplify ancient version handling to reduce strings (authored by alvinhochun).
Win installer: Simplify ancient version handling to reduce strings
Jun 4 2020, 9:21 AM
alvinhochun committed R37:ae22d453bf45: Win installer: Extract strings to prepare for translation (authored by alvinhochun).
Win installer: Extract strings to prepare for translation
Jun 4 2020, 9:21 AM
alvinhochun committed R37:aec3418f259b: Bump Windows installer NSIS version to 3.05 (authored by alvinhochun).
Bump Windows installer NSIS version to 3.05
Jun 4 2020, 9:21 AM

Jun 3 2020

alvinhochun committed R37:9d90430d569c: MSIX: Add new logos generated from vector using Visual Studio (authored by alvinhochun).
MSIX: Add new logos generated from vector using Visual Studio
Jun 3 2020, 6:17 PM
alvinhochun committed R37:7fd0b5b179cd: Add additional notes on app icons to the MSIX readme (authored by alvinhochun).
Add additional notes on app icons to the MSIX readme
Jun 3 2020, 5:02 PM
alvinhochun committed R37:683622690775: MSIX: Add target-size fileicon assets (authored by alvinhochun).
MSIX: Add target-size fileicon assets
Jun 3 2020, 5:02 PM

May 24 2019

alvinhochun added a comment to T10935: Need testing for WinInk tablet support.

I tested the build https://yadi.sk/d/aPP0OEDRdUt0Mw and this is my test result:

May 24 2019, 2:09 PM · Krita: Next Features (Needs Testing)

May 18 2019

alvinhochun added a comment to T10935: Need testing for WinInk tablet support.

The touch docker appears to work fine on my SP2017, but the other QML windows (the open/save file dialogs) doesn't respond to the stylus

May 18 2019, 11:27 AM · Krita: Next Features (Needs Testing)

May 13 2019

alvinhochun created T10922: Replace usage of QDesktopWidget with QScreen.
May 13 2019, 4:32 PM · Krita

May 8 2019

alvinhochun committed R37:47b250d1b8f0: Fix splash_screen_x2.xpm to be right size (authored by alvinhochun).
Fix splash_screen_x2.xpm to be right size
May 8 2019, 5:19 PM