! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
[PATCH] Should only open one appointment window per appointment
Status:
RESOLVED: WONTFIX
Severity:
enhancement

Comments

Description Lee Thomas 2013-01-27 20:35:09 CET
Created attachment 4883 
Patch to mainbox.c to only open one todo window per todo.

Double-clicking on a todo in the main window's todo list opens the appointment window for that todo, which is very nice. Unfortunately doing so again while there is already an appointment window open, opens a second appointment window for the same TODO. This is dangerous because it is very easy to end up with changes in both, and for one set of changes to get lost. The following patch changes this behavior such that double-clicking on an appointment for which a window is already open, brings that window to the front and gives it focus, instead of creating a second window.
Comment 1 juha editbugs 2013-01-28 12:15:31 CET
This is not so simple.

TODO box is recreated for example when you add new todo.

So if you double click your existing todo and then go and create new todo, the code does not work. ending now the original todo caues then errors as the corresponding todo box does not exist anymore.

This is even more complex with EVENT tyoes since the EVENT box gets recreated for example when you change the day.

I am doing similar window tracking when double clicking rows in event-list or from day-view.

Can't use this patch as it is.
Comment 2 Skunnyk editbugs 2019-10-27 18:39:49 CET
The orage project is not maintained anymore and has been archived. Closing bugs.

Bug #9809

Reported by:
Lee Thomas
Reported on: 2013-01-27
Last modified on: 2019-10-27

People

CC List:
1 user

Version

Version:
unspecified

Attachments

Patch to mainbox.c to only open one todo window per todo. (1.48 KB, application/octet-stream)
2013-01-27 20:35 CET , Lee Thomas
no flags

Additional information