Closed InfinityLoop1308 closed 1 year ago
only select theme in theme picker or build folder not have the theme, the keyboard will be updated. it is a feature to save time, not a bug
only select theme in theme picker or build folder not have the theme, the keyboard will be updated. it is a feature to save time, not a bug
Can you describe this procedure in detail? I can't reproduce it.
Never modify theme in build path. modify theme in user path and you have 2 ways to apply change:
Never modify theme in build path. modify theme in user path and you have 2 ways to apply change:
1. open theme picker, select theme 2. delete theme in build path and kill trime
so that is literary what I have done. and no changes are applied.
And I am assuming this is because build/my_theme.yaml
is not updated, and that should be a bug.
I couldn't repeat the bug
I make a more detailed version.
To Reproduce Steps to reproduce the bug
rime/my_theme.yaml
rime/build/my_theme.yaml
to rime/build/test.yaml
rime/build/my_theme.yaml
is not generated, and I can not select this theme in theme pickerI couldn't repeat the bug
Try this.
Is your theme valid? If any files in build
are not generated, check the JNI log (try https://github.com/iovxw/miniglog/tree/add-flags)
Thank you all for help. It turns out the config_version
controls the update behavior. After I changed the value, the theme is updated properly.
So in fact nothing is changed 3 days ago. This issue should be reopened.
The easiest way to reproduce this bug:
test.yaml
, to /sdcard/rime/
Related issue: #706, #649 This issue should have a high priority since it destroy the user experience.
I find a solution: https://github.com/osfans/trime/issues/649#issuecomment-1002414493. That is really a weird behavior, can be make some change?
Edit: it only works once. I don't know why.
Never modify theme in build path. modify theme in user path and you have 2 ways to apply change:
- open theme picker, select theme
- delete theme in build path and kill trime
I have never found the bug.
I find a solution: #649 (comment). That is really a weird behavior, can be make some change?
Edit: it only works once. I don't know why.
Deploy only apply scheme , not build theme . it is a feature to save time not a bug.
Deploy only apply scheme , not build theme . it is a feature to save time not a bug.
That is not a reasonable excuse. If you remove the function, you should at least provide a reliable way for users to do it manually. The fact is, some users can not build their themes automatically, and they should have a solution to build their themes manually in this case.
Deploy only apply scheme , not build theme . it is a feature to save time not a bug.
And this is a wrong statement as trime.yaml
is build every time when I deploy.
And this is a wrong statement as
trime.yaml
is build every time when I deploy.
I think others thing with yours themes. in my phone, the trime.yaml never build until user select the theme. you could find the build time for trime.yaml, others theme, and schemes in my screenshot
. The fact is, some users can not build their themes automatically, and they should have a solution to build their themes manually in this case.
theme picker works well and it could build theme when the choused theme is changed
And this is a wrong statement as
trime.yaml
is build every time when I deploy.I think others thing with yours themes. in my phone, the trime.yaml never build until user select the theme. you could find the build time for trime.yaml, others theme, and schemes in my screenshot
. The fact is, some users can not build their themes automatically, and they should have a solution to build their themes manually in this case.
theme picker works well and it could build theme when the choused theme is changed
So the problem is that Trime has very different behavior across users. We can just both hold our view of points until somebody find out the reason. As users who have trouble building themes can still update their theme by modify the theme file in the build folder directly, it is not a fatal problem, but still needs to be fixed.
Solved.
Trime will not do anything (or throw any error) when a theme/schema is invalid. After fixing the errors it works normally.
We add deployment log in #866.
Describe the bug Can not update theme file. When updating the theme file in
rime/
, neither deploy action nor changing theme action can be used to generate a built theme file inrime/build
. Say the theme ismy_theme.yaml
, if I delete therime/build/my_theme.yaml
, I will never have access to this theme.To Reproduce Steps to reproduce the bug:
rime/my_theme.yaml
rime/build/my_theme.yaml
Expected behavior
rime/build/my_theme.yaml
should be update correctly.Log NA
Screenshots NA
Smartphone (please complete the following information): NA
Additional context NA