Closed ZaynChen closed 1 year ago
Are you using the 3.2.0 version or the master branch of Litarvan? The 3.2.0 isn't updated for sea-greeter, so the master version is recommended.
Yes, I am using the master branch of Litarvan, not the 3.2.0 release version. I use ./build.sh to generate the theme, and manually install it to my archlinux. I add console.log() around this.$router.back()
in PowerButton.vue of litarvan, the click events seems working as the console outputs in devtools are expected, so this.$router.back()
seems not working.
Hmm, I'll look into that.
I add console.log(history)
around this.$router.back()
, this.$router.push()
, ..., the length of the history is always 1 and never changes. When I switch to webkit2-greeter
, the length will increase when I go to settings and theming pages, and it can go back or forward correctly. So maybe this issue is related to the history
.
Looks like it's a sea-greeter bug. As you say, the history length is always 0 in Vue.js based themes like Litarvan or my lightdm-void-theme. I thought it was fixed back then... I'll look for a solution.
Fixed in 6387cd8aca49b2503f7607edac30a56661c2921e :D
I am using
sea-greeter
andlitarvan
. However, after go tosetup
ortheming
page, I can not go back to the previous page, click on theback
button dose not work. So, I have toreload
the theme. As a result, after changing the settings, I have to click theback
button to save, and then reload the theme to make it work as it only saves the settings but does not go back. The theme is working usinglightdm-webkit2-greeter
. In debug mode ofsea-greeter
, theback
,forward
andstop
are disabled, onlyreload
andinspect element
is enabled. However, inwebkit2-greeter
, they are enabled. So, this issue is due tosea-greeter
or themelitarvan
? How can I fix this?