Discussion:
Review Request 111873: Minimise kleopatra to system tray on startup
Lindsay Mathieson
2013-08-04 00:10:27 UTC
Permalink
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/111873/
-----------------------------------------------------------

Review request for KDEPIM and Andre Heinecke.


Description
-------

Currently kleopatra always displays its main window on startup, which is annoying on logon when it should be just displaying in the tray (note: kleopatra always displays in the tray, there is no option to disable this).
This patch:
- keeps the main window hidden on startup
- adds a command line option "--show" to display the main window on request
- adds the "--show" option to kdepims Tools|Certificate Manager" menu action

Note 2: This is identical behaviour to kgpg.


This addresses bug 309461.
http://bugs.kde.org/show_bug.cgi?id=309461


Diffs
-----

kleopatra/kleopatraapplication.cpp 91c07cf
kmail/kmmainwidget.cpp ce24d3e

Diff: http://git.reviewboard.kde.org/r/111873/diff/


Testing
-------
- "kleopatra". System Tray Icon is displayed, no main window
- "kleopatra --show". System Tray Icon and Main Window are displayed
- KMail - "Tools|Certificate Manager". Kleopatra main window is displayed.
- Reboot. Just the system tray icon is displayed
- Logout/Login. Just the system tray icon is displayed
- From kleopatra System Tray Context Menu:
* Open Certificate Manager
* Configure Kleopatra
* About Kleopatra
All windows were displayed as expected.


Thanks,

Lindsay Mathieson

_______________________________________________
KDE PIM mailing list kde-***@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
Kevin Krammer
2013-08-04 08:30:29 UTC
Permalink
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/111873/#review37048
-----------------------------------------------------------


I wonder if it wouldn't be better to change the autostart behavior.
KWalletManager does the "only show tray icon" thing it is confusing the heck out of users. The launch a program an apparently nothing happens. Some repeatedly try to launch it and then give up and ask on the mailinglist or forum.


- Kevin Krammer
Post by Lindsay Mathieson
-----------------------------------------------------------
http://git.reviewboard.kde.org/r/111873/
-----------------------------------------------------------
(Updated Aug. 4, 2013, 12:10 a.m.)
Review request for KDEPIM and Andre Heinecke.
Description
-------
Currently kleopatra always displays its main window on startup, which is annoying on logon when it should be just displaying in the tray (note: kleopatra always displays in the tray, there is no option to disable this).
- keeps the main window hidden on startup
- adds a command line option "--show" to display the main window on request
- adds the "--show" option to kdepims Tools|Certificate Manager" menu action
Note 2: This is identical behaviour to kgpg.
This addresses bug 309461.
http://bugs.kde.org/show_bug.cgi?id=309461
Diffs
-----
kleopatra/kleopatraapplication.cpp 91c07cf
kmail/kmmainwidget.cpp ce24d3e
Diff: http://git.reviewboard.kde.org/r/111873/diff/
Testing
-------
- "kleopatra". System Tray Icon is displayed, no main window
- "kleopatra --show". System Tray Icon and Main Window are displayed
- KMail - "Tools|Certificate Manager". Kleopatra main window is displayed.
- Reboot. Just the system tray icon is displayed
- Logout/Login. Just the system tray icon is displayed
* Open Certificate Manager
* Configure Kleopatra
* About Kleopatra
All windows were displayed as expected.
Thanks,
Lindsay Mathieson
_______________________________________________
KDE PIM mailing list kde-***@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
Lindsay Mathieson
2013-08-04 12:02:25 UTC
Permalink
Post by Lindsay Mathieson
Post by Kevin Krammer
I wonder if it wouldn't be better to change the autostart behavior.
KWalletManager does the "only show tray icon" thing it is confusing the heck out of users. The launch a program an apparently nothing happens. Some repeatedly try to launch it and then give up and ask on the mailinglist or forum.
Its a bit of a conundrum, both behaviours (always hide/vs always show) can be a problem.

How about remembering its state? i.e start hidden if it was hidden when shutdown.


- Lindsay


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/111873/#review37048
-----------------------------------------------------------
Post by Lindsay Mathieson
-----------------------------------------------------------
http://git.reviewboard.kde.org/r/111873/
-----------------------------------------------------------
(Updated Aug. 4, 2013, 10:10 a.m.)
Review request for KDEPIM and Andre Heinecke.
Description
-------
Currently kleopatra always displays its main window on startup, which is annoying on logon when it should be just displaying in the tray (note: kleopatra always displays in the tray, there is no option to disable this).
- keeps the main window hidden on startup
- adds a command line option "--show" to display the main window on request
- adds the "--show" option to kdepims Tools|Certificate Manager" menu action
Note 2: This is identical behaviour to kgpg.
This addresses bug 309461.
http://bugs.kde.org/show_bug.cgi?id=309461
Diffs
-----
kleopatra/kleopatraapplication.cpp 91c07cf
kmail/kmmainwidget.cpp ce24d3e
Diff: http://git.reviewboard.kde.org/r/111873/diff/
Testing
-------
- "kleopatra". System Tray Icon is displayed, no main window
- "kleopatra --show". System Tray Icon and Main Window are displayed
- KMail - "Tools|Certificate Manager". Kleopatra main window is displayed.
- Reboot. Just the system tray icon is displayed
- Logout/Login. Just the system tray icon is displayed
* Open Certificate Manager
* Configure Kleopatra
* About Kleopatra
All windows were displayed as expected.
Thanks,
Lindsay Mathieson
_______________________________________________
KDE PIM mailing list kde-***@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
Kevin Krammer
2013-08-04 12:36:50 UTC
Permalink
Post by Lindsay Mathieson
Post by Kevin Krammer
I wonder if it wouldn't be better to change the autostart behavior.
KWalletManager does the "only show tray icon" thing it is confusing the heck out of users. The launch a program an apparently nothing happens. Some repeatedly try to launch it and then give up and ask on the mailinglist or forum.
Its a bit of a conundrum, both behaviours (always hide/vs always show) can be a problem.
How about remembering its state? i.e start hidden if it was hidden when shutdown.
I guess it mostly matters on what kind of automatic starting we are talking about.
If we are talking about a program being started through the restoration of a safed session, then I think it should of course be restored in the state it was in when the session was safed (whether that is an explicit safe or a safe on shutdown doesn't matter, that is the user's choice anyhow).
If we are talking about autostart, i.e. triggered by an autostart .desktop file, then I guess either behavior would be fine (leaning toward hidden).

See http://techbase.kde.org/KDE_System_Administration/Startup#ksmserver:_Session_Management_and_Autostart


- Kevin


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/111873/#review37048
-----------------------------------------------------------
Post by Lindsay Mathieson
-----------------------------------------------------------
http://git.reviewboard.kde.org/r/111873/
-----------------------------------------------------------
(Updated Aug. 4, 2013, 12:10 a.m.)
Review request for KDEPIM and Andre Heinecke.
Description
-------
Currently kleopatra always displays its main window on startup, which is annoying on logon when it should be just displaying in the tray (note: kleopatra always displays in the tray, there is no option to disable this).
- keeps the main window hidden on startup
- adds a command line option "--show" to display the main window on request
- adds the "--show" option to kdepims Tools|Certificate Manager" menu action
Note 2: This is identical behaviour to kgpg.
This addresses bug 309461.
http://bugs.kde.org/show_bug.cgi?id=309461
Diffs
-----
kleopatra/kleopatraapplication.cpp 91c07cf
kmail/kmmainwidget.cpp ce24d3e
Diff: http://git.reviewboard.kde.org/r/111873/diff/
Testing
-------
- "kleopatra". System Tray Icon is displayed, no main window
- "kleopatra --show". System Tray Icon and Main Window are displayed
- KMail - "Tools|Certificate Manager". Kleopatra main window is displayed.
- Reboot. Just the system tray icon is displayed
- Logout/Login. Just the system tray icon is displayed
* Open Certificate Manager
* Configure Kleopatra
* About Kleopatra
All windows were displayed as expected.
Thanks,
Lindsay Mathieson
_______________________________________________
KDE PIM mailing list kde-***@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
Andre Heinecke
2013-08-05 09:06:26 UTC
Permalink
Post by Lindsay Mathieson
Post by Kevin Krammer
I wonder if it wouldn't be better to change the autostart behavior.
KWalletManager does the "only show tray icon" thing it is confusing the heck out of users. The launch a program an apparently nothing happens. Some repeatedly try to launch it and then give up and ask on the mailinglist or forum.
Its a bit of a conundrum, both behaviours (always hide/vs always show) can be a problem.
How about remembering its state? i.e start hidden if it was hidden when shutdown.
I guess it mostly matters on what kind of automatic starting we are talking about.
If we are talking about a program being started through the restoration of a safed session, then I think it should of course be restored in the state it was in when the session was safed (whether that is an explicit safe or a safe on shutdown doesn't matter, that is the user's choice anyhow).
If we are talking about autostart, i.e. triggered by an autostart .desktop file, then I guess either behavior would be fine (leaning toward hidden).
See http://techbase.kde.org/KDE_System_Administration/Startup#ksmserver:_Session_Management_and_Autostart
I have to agree with Kevin on this. At least for Windows we would have to define this out because Kleopatra is not autostarted there and users expect it in the foreground when they launch it "willingly". I don't know how the session restore usually works for other Programs but starting Kleopatra minimized by default seems wrong to me.


- Andre


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/111873/#review37048
-----------------------------------------------------------
Post by Lindsay Mathieson
-----------------------------------------------------------
http://git.reviewboard.kde.org/r/111873/
-----------------------------------------------------------
(Updated Aug. 4, 2013, 12:10 a.m.)
Review request for KDEPIM and Andre Heinecke.
Description
-------
Currently kleopatra always displays its main window on startup, which is annoying on logon when it should be just displaying in the tray (note: kleopatra always displays in the tray, there is no option to disable this).
- keeps the main window hidden on startup
- adds a command line option "--show" to display the main window on request
- adds the "--show" option to kdepims Tools|Certificate Manager" menu action
Note 2: This is identical behaviour to kgpg.
This addresses bug 309461.
http://bugs.kde.org/show_bug.cgi?id=309461
Diffs
-----
kleopatra/kleopatraapplication.cpp 91c07cf
kmail/kmmainwidget.cpp ce24d3e
Diff: http://git.reviewboard.kde.org/r/111873/diff/
Testing
-------
- "kleopatra". System Tray Icon is displayed, no main window
- "kleopatra --show". System Tray Icon and Main Window are displayed
- KMail - "Tools|Certificate Manager". Kleopatra main window is displayed.
- Reboot. Just the system tray icon is displayed
- Logout/Login. Just the system tray icon is displayed
* Open Certificate Manager
* Configure Kleopatra
* About Kleopatra
All windows were displayed as expected.
Thanks,
Lindsay Mathieson
_______________________________________________
KDE PIM mailing list kde-***@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
Lindsay Mathieson
2013-08-05 10:50:15 UTC
Permalink
Post by Lindsay Mathieson
Post by Kevin Krammer
I wonder if it wouldn't be better to change the autostart behavior.
KWalletManager does the "only show tray icon" thing it is confusing the heck out of users. The launch a program an apparently nothing happens. Some repeatedly try to launch it and then give up and ask on the mailinglist or forum.
Its a bit of a conundrum, both behaviours (always hide/vs always show) can be a problem.
How about remembering its state? i.e start hidden if it was hidden when shutdown.
I guess it mostly matters on what kind of automatic starting we are talking about.
If we are talking about a program being started through the restoration of a safed session, then I think it should of course be restored in the state it was in when the session was safed (whether that is an explicit safe or a safe on shutdown doesn't matter, that is the user's choice anyhow).
If we are talking about autostart, i.e. triggered by an autostart .desktop file, then I guess either behavior would be fine (leaning toward hidden).
See http://techbase.kde.org/KDE_System_Administration/Startup#ksmserver:_Session_Management_and_Autostart
I have to agree with Kevin on this. At least for Windows we would have to define this out because Kleopatra is not autostarted there and users expect it in the foreground when they launch it "willingly". I don't know how the session restore usually works for other Programs but starting Kleopatra minimized by default seems wrong to me.
Sounds reasonable. I'll revert the current changes and set it to restore the window state on session restore, but show the main window on normal startup.

How about adding a "Start minimised" option as well? thats off by default.


- Lindsay


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/111873/#review37048
-----------------------------------------------------------
Post by Lindsay Mathieson
-----------------------------------------------------------
http://git.reviewboard.kde.org/r/111873/
-----------------------------------------------------------
(Updated Aug. 4, 2013, 10:10 a.m.)
Review request for KDEPIM and Andre Heinecke.
Description
-------
Currently kleopatra always displays its main window on startup, which is annoying on logon when it should be just displaying in the tray (note: kleopatra always displays in the tray, there is no option to disable this).
- keeps the main window hidden on startup
- adds a command line option "--show" to display the main window on request
- adds the "--show" option to kdepims Tools|Certificate Manager" menu action
Note 2: This is identical behaviour to kgpg.
This addresses bug 309461.
http://bugs.kde.org/show_bug.cgi?id=309461
Diffs
-----
kleopatra/kleopatraapplication.cpp 91c07cf
kmail/kmmainwidget.cpp ce24d3e
Diff: http://git.reviewboard.kde.org/r/111873/diff/
Testing
-------
- "kleopatra". System Tray Icon is displayed, no main window
- "kleopatra --show". System Tray Icon and Main Window are displayed
- KMail - "Tools|Certificate Manager". Kleopatra main window is displayed.
- Reboot. Just the system tray icon is displayed
- Logout/Login. Just the system tray icon is displayed
* Open Certificate Manager
* Configure Kleopatra
* About Kleopatra
All windows were displayed as expected.
Thanks,
Lindsay Mathieson
_______________________________________________
KDE PIM mailing list kde-***@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
Lindsay Mathieson
2013-08-17 06:53:47 UTC
Permalink
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/111873/
-----------------------------------------------------------

(Updated Aug. 17, 2013, 4:53 p.m.)


Status
------

This change has been discarded.


Review request for KDEPIM and Andre Heinecke.


Description
-------

Currently kleopatra always displays its main window on startup, which is annoying on logon when it should be just displaying in the tray (note: kleopatra always displays in the tray, there is no option to disable this).
This patch:
- keeps the main window hidden on startup
- adds a command line option "--show" to display the main window on request
- adds the "--show" option to kdepims Tools|Certificate Manager" menu action

Note 2: This is identical behaviour to kgpg.


This addresses bug 309461.
http://bugs.kde.org/show_bug.cgi?id=309461


Diffs
-----

kleopatra/kleopatraapplication.cpp 91c07cf
kmail/kmmainwidget.cpp ce24d3e

Diff: http://git.reviewboard.kde.org/r/111873/diff/


Testing
-------
- "kleopatra". System Tray Icon is displayed, no main window
- "kleopatra --show". System Tray Icon and Main Window are displayed
- KMail - "Tools|Certificate Manager". Kleopatra main window is displayed.
- Reboot. Just the system tray icon is displayed
- Logout/Login. Just the system tray icon is displayed
- From kleopatra System Tray Context Menu:
* Open Certificate Manager
* Configure Kleopatra
* About Kleopatra
All windows were displayed as expected.


Thanks,

Lindsay Mathieson

_______________________________________________
KDE PIM mailing list kde-***@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
Laurent Montel
2013-08-17 07:38:28 UTC
Permalink
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/111873/#review38011
-----------------------------------------------------------


For me seems good

- Laurent Montel
Post by Lindsay Mathieson
-----------------------------------------------------------
http://git.reviewboard.kde.org/r/111873/
-----------------------------------------------------------
(Updated Aug. 17, 2013, 6:53 a.m.)
Review request for KDEPIM and Andre Heinecke.
Description
-------
Currently kleopatra always displays its main window on startup, which is annoying on logon when it should be just displaying in the tray (note: kleopatra always displays in the tray, there is no option to disable this).
- keeps the main window hidden on startup
- adds a command line option "--show" to display the main window on request
- adds the "--show" option to kdepims Tools|Certificate Manager" menu action
Note 2: This is identical behaviour to kgpg.
This addresses bug 309461.
http://bugs.kde.org/show_bug.cgi?id=309461
Diffs
-----
kleopatra/kleopatraapplication.cpp 91c07cf
kmail/kmmainwidget.cpp ce24d3e
Diff: http://git.reviewboard.kde.org/r/111873/diff/
Testing
-------
- "kleopatra". System Tray Icon is displayed, no main window
- "kleopatra --show". System Tray Icon and Main Window are displayed
- KMail - "Tools|Certificate Manager". Kleopatra main window is displayed.
- Reboot. Just the system tray icon is displayed
- Logout/Login. Just the system tray icon is displayed
* Open Certificate Manager
* Configure Kleopatra
* About Kleopatra
All windows were displayed as expected.
Thanks,
Lindsay Mathieson
_______________________________________________
KDE PIM mailing list kde-***@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/

Loading...