SUMMARY A change to the setting in Elisa of the initial view on startup from 'Now Playing' to 'Albums' is not activated after closing and restarting Elisa (or after re-booting the system). STEPS TO REPRODUCE 1. Select 'Configure Elisa' (from menu) 2. Change 'Initial view on startup' to Albums 3. Apply, close and restart Elisa OBSERVED RESULT Initial view remains unchanged ('Now Playing') EXPECTED RESULT Initial view set to 'Albums' SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: KDE Neon 5.22 (available in About System) KDE Plasma Version: 5.22.5 KDE Frameworks Version: 5.85.0 Qt Version: 5.15.3 ADDITIONAL INFORMATION Elisa is a great music application. Thanks.
Works for me. Can you sent the output of running `grep InitialView ~/.config/elisarc` in a terminal window?
Created attachment 141448 [details] attachment-27067-0.html The entry in elisarc reads "InitialView=AllAlbums". However, whichever setting option is selected (and confirmed it features in elisarc), Elisa (21.08.1) still loads with the "Now Playing" view. I have deleted the elisarc file and removed and reinstalled elisa using Discover, but there is no change. I am using m4a music files - I converted a few to ogg using FFaudioConverter, but the initial view loaded is still "Now Playing". Thanks 10 Sept 2021, 15:14 by bugzilla_noreply@kde.org: > https://bugs.kde.org/show_bug.cgi?id=442251 > > Nate Graham <nate@kde.org> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Status|REPORTED |NEEDSINFO > CC| |nate@kde.org > Resolution|--- |WAITINGFORINFO > > --- Comment #1 from Nate Graham <nate@kde.org> --- > Works for me. Can you sent the output of running `grep InitialView > ~/.config/elisarc` in a terminal window? > > -- > You are receiving this mail because: > You reported the bug. >
Huh, I guess it's not that. Are you using Elisa in a language that is not English, by any chance? If so, does it start working if you temporarily switch to English?
Created attachment 141682 [details] attachment-7682-0.html Well I am using British English, but I changed to American English, logged in again, and it works (the initial view is Albums). Looks like you are on the right track. 14 Sept 2021, 17:02 by bugzilla_noreply@kde.org: > https://bugs.kde.org/show_bug.cgi?id=442251 > > --- Comment #3 from Nate Graham <nate@kde.org> --- > Huh, I guess it's not that. > > Are you using Elisa in a language that is not English, by any chance? If so, > does it start working if you temporarily switch to English? > > -- > You are receiving this mail because: > You reported the bug. >
OK, I probably know what the issue is then: we're comparing translated strings with literal strings. This has been a problem in the past with other things too. It's a common error. I'll try to block out some time to investigate more deeply.
Created attachment 141696 [details] attachment-1632-0.html Thanks! 18 Sept 2021, 19:34 by bugzilla_noreply@kde.org: > https://bugs.kde.org/show_bug.cgi?id=442251 > > Nate Graham <nate@kde.org> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Resolution|WAITINGFORINFO |--- > Status|NEEDSINFO |REPORTED > > --- Comment #5 from Nate Graham <nate@kde.org> --- > OK, I probably know what the issue is then: we're comparing translated strings > with literal strings. This has been a problem in the past with other things > too. It's a common error. I'll try to block out some time to investigate more > deeply. > > -- > You are receiving this mail because: > You reported the bug. >
Hmm, no luck finding the bug yet. It isn't something obvious (at least not to me).
FWIW I can't reproduce the issue when I switch to British English and restart my session.
Created attachment 141767 [details] Elisa in a potato-grade VM I can reproduce it on neon with German as the system language. The problem is not that it cannot set the initial view to the correct page. The problem is after setting the view to the right page on startup, it immediately resets the view to the Now Playing page after a fraction of a moment. You can see this in action if you run Elisa in a potato-grade VM.
Created attachment 141771 [details] AmericanE.txt I attach two text files which might help - transcripts of running Elisa from a terminal, one with American English as the default language, the other with British English as default. In both instances Elisa was started with Now Playing as the initial view, and once loaded the initial view setting was changed to Albums, and then Elisa was exited. I don't know enough to understand much of it (apart from noticing that the BritishE file is much longer than the AmericanE), but these may be of use. 10 Sept 2021, 15:14 by bugzilla_noreply@kde.org: > https://bugs.kde.org/show_bug.cgi?id=442251 > > Nate Graham <nate@kde.org> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Status|REPORTED |NEEDSINFO > CC| |nate@kde.org > Resolution|--- |WAITINGFORINFO > > --- Comment #1 from Nate Graham <nate@kde.org> --- > Works for me. Can you sent the output of running `grep InitialView > ~/.config/elisarc` in a terminal window? > > -- > You are receiving this mail because: > You reported the bug. >
Created attachment 141772 [details] BritishE.txt
Created attachment 141773 [details] attachment-32490-0.html Actually now you have pointed out this behaviour, I can see that when Elisa is started, Albums is highlighted for a split second and then the highlight changes to Now Playing. It's so quick that you don't see it unless you are looking for it (on my 6 year old maybe approaching potato-grade thinkpad anyway). 21 Sept 2021, 15:06 by bugzilla_noreply@kde.org: > https://bugs.kde.org/show_bug.cgi?id=442251 > > Nagy Tibor <xnagytibor@gmail.com> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |xnagytibor@gmail.com > > --- Comment #9 from Nagy Tibor <xnagytibor@gmail.com> --- > Created attachment 141767 [details] > --> https://bugs.kde.org/attachment.cgi?id=141767&action=edit > Elisa in a potato-grade VM > > I can reproduce it on neon with German as the system language. The problem is > not that it cannot set the initial view to the correct page. The problem is > after setting the view to the right page on startup, it immediately resets the > view to the Now Playing page after a fraction of a moment. You can see this in > action if you run Elisa in a potato-grade VM. > > -- > You are receiving this mail because: > You reported the bug. >
A quicker repro I found that doesn't require changing the system language and doing a session restart: (export LANG=en_GB.UTF-8; elisa) (export LANG=en_US.UTF-8; elisa)
(In reply to Nagy Tibor from comment #13) > A quicker repro I found that doesn't require changing the system language > and doing a session restart: > > (export LANG=en_GB.UTF-8; elisa) > (export LANG=en_US.UTF-8; elisa) Hmm, that still works for me. :/
Created attachment 142347 [details] attachment-23943-0.html For information, this bug is also present in the flatpak version of Elisa (21.08.2) when installed on Ubuntu 20.04 LTS. 21 Sept 2021, 17:29 by ldwatson@tutanota.com: > Actually now you have pointed out this behaviour, I can see that when Elisa is started, Albums is highlighted for a split second and then the highlight changes to Now Playing. It's so quick that you don't see it unless you are looking for it (on my 6 year old maybe approaching potato-grade thinkpad anyway). > > > > > 21 Sept 2021, 15:06 by bugzilla_noreply@kde.org: > >> https://bugs.kde.org/show_bug.cgi?id=442251 >> >> Nagy Tibor <xnagytibor@gmail.com> changed: >> >> What |Removed |Added >> ---------------------------------------------------------------------------- >> CC| |xnagytibor@gmail.com >> >> --- Comment #9 from Nagy Tibor <xnagytibor@gmail.com> --- >> Created attachment 141767 [details] >> --> https://bugs.kde.org/attachment.cgi?id=141767&action=edit >> Elisa in a potato-grade VM >> >> I can reproduce it on neon with German as the system language. The problem is >> not that it cannot set the initial view to the correct page. The problem is >> after setting the view to the right page on startup, it immediately resets the >> view to the Now Playing page after a fraction of a moment. You can see this in >> action if you run Elisa in a potato-grade VM. >> >> -- >> You are receiving this mail because: >> You reported the bug. >> > >
I think we have an off-by-one issue here somewhere with how the initial view index is saved and restored.
I cannot reproduce this with the latest Elisa version (either 22.04 or master) on a german system. What I am seeing instead is that while the correct page is displayed on startup, nothing can be played / added to the playlist from that page. For example, if I set the start page to album view, then I cannot hit play on any album (nothing happens, no terminal output). Elisa also gets somewhat sluggish at that point. Even switching to a different view and back doesn't fix this, however, if I click a play button in a different view (e. g. artists), THEN go back to album view, the album play buttons work again.
That's in Bug 454032. Seems like the manifestation has changed. Let's close this and continue there.