Bug 507800

Summary: View on launch
Product: [Applications] korganizer Reporter: Alex6 <alex.premie>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: wishlist CC: winter
Priority: NOR    
Version First Reported In: 6.4.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: attachment-271483-0.html
attachment-462339-0.html

Description Alex6 2025-08-03 06:31:06 UTC
SUMMARY


STEPS TO REPRODUCE
1.  Launch korganizer
2. Choose a view (agenda) and a date
3.  Close &  reopen

OBSERVED RESULT
different settings (those in effect when the last KDE session was closed?)

EXPECTED RESULT
I dream of an option to launch korganizer with the same view, adapted to the current date,  for example “agenda for today and tomorrow”.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Manjaro
KDE Plasma Version:  6.36
KDE Frameworks Version: 
Qt Version:  6.9.1
Comment 1 Bug Janitor Service 2025-08-03 11:52:31 UTC
A possibly relevant merge request was started @ https://invent.kde.org/pim/korganizer/-/merge_requests/230
Comment 2 Allen Winter 2025-08-03 12:17:00 UTC
Git commit 682f1591aec198cd1b06c2ca3f9ba3a7d9ff4814 by Allen Winter.
Committed on 03/08/2025 at 11:47.
Pushed by winterz into branch 'master'.

koviewmanager.cpp - Fix readSettings() to restore the previous view

Previously, the agenda view was always restored.

M  +8    -2    src/koviewmanager.cpp

https://invent.kde.org/pim/korganizer/-/commit/682f1591aec198cd1b06c2ca3f9ba3a7d9ff4814
Comment 3 Allen Winter 2025-08-03 12:18:37 UTC
Git commit 05b26e3d6c3fbd56ee007a3380c4f83e7952efab by Allen Winter.
Committed on 03/08/2025 at 12:18.
Pushed by winterz into branch 'release/25.08'.

koviewmanager.cpp - Fix readSettings() to restore the previous view

Previously, the agenda view was always restored.


(cherry picked from commit 682f1591aec198cd1b06c2ca3f9ba3a7d9ff4814)

Co-authored-by: Allen Winter <winter@kde.org>

M  +8    -2    src/koviewmanager.cpp

https://invent.kde.org/pim/korganizer/-/commit/05b26e3d6c3fbd56ee007a3380c4f83e7952efab
Comment 4 Allen Winter 2025-08-03 12:31:32 UTC
In the upcoming 6.5.0 release KOrganizer will remember and restore the view.
I don't have a fix for remembering the current date yet.

also, there is no capability to configure the initial view and there is no semantics for "today" or "tomorrow" either.
Comment 5 Alex6 2025-08-03 15:06:07 UTC
Created attachment 183764 [details]
attachment-271483-0.html

"no semantics for "today" or "tomorrow"... really ?

Le dimanche 3 août 2025 14:31:32 heure d’été d’Europe centrale, vous avez écrit :
> https://bugs.kde.org/show_bug.cgi?id=507800
> 
> Allen Winter <winter@kde.org> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |winter@kde.org
> 
> --- Comment #4 from Allen Winter <winter@kde.org> ---
> In the upcoming 6.5.0 release KOrganizer will remember and restore the view.
> I don't have a fix for remembering the current date yet.
> 
> also, there is no capability to configure the initial view and there is no
> semantics for "today" or "tomorrow" either.
> 
>
Comment 6 Allen Winter 2025-08-03 15:31:07 UTC
what I mean is: you can't  korganizer to start with "today" or "tomorrow"  or any specific date 

perhaps I misunderstood your wish.

I thought you meant that you want korganizer to start (using some configuration or command-line option) in some specified view and on some specified date(s) like "today" or "tomorrow" or "3 weeks from now", ...
Comment 7 Alex6 2025-08-04 17:18:47 UTC
Created attachment 183789 [details]
attachment-462339-0.html

Hi,
You didn't misunderstood anything !

Le dimanche 3 août 2025 17:31:07 heure d’été d’Europe centrale, vous avez écrit :
> https://bugs.kde.org/show_bug.cgi?id=507800
> 
> --- Comment #6 from Allen Winter <winter@kde.org> ---
> what I mean is: you can't  korganizer to start with "today" or "tomorrow"  or
> any specific date 
> 
> perhaps I misunderstood your wish.
> 
> I thought you meant that you want korganizer to start (using some configuration
> or command-line option) in some specified view and on some specified date(s)
> like "today" or "tomorrow" or "3 weeks from now", ...
> 
>