1
0
mirror of https://github.com/keeweb/keeweb.git synced 2024-06-20 06:56:40 +02:00
Commit Graph

80 Commits

Author SHA1 Message Date
antelle
c39933c051
fix #1447: fixed opening databases from Dock 2020-04-04 19:46:19 +02:00
antelle
05b2b395ad
preventing navigation in the main window 2020-04-03 18:06:14 +02:00
antelle
1f5cd55272
app startup time profiling 2020-03-29 10:59:40 +02:00
antelle
f2583bc37f renamed the variable to KEEWEB_PORTABLE_EXECUTABLE_DIR, see #1065 2020-03-24 17:07:30 +01:00
antelle
61d83319d4 KEEWEB_OPEN_DEVTOOLS variable 2020-03-17 07:52:34 +01:00
antelle
85c07dba9c checking if the directory exists, see #1418 2020-03-09 16:33:28 +01:00
antelle
36a53cc405 fix #1065: PORTABLE_EXECUTABLE_DIR environment variable 2019-11-06 23:14:20 +01:00
antelle
cccb9ac681 fix #1341: auto-lock the app on screen lock on Windows 2019-11-06 23:01:05 +01:00
antelle
0a025d807b Merge branch 'master' into develop
# Conflicts:
#	release-notes.md
2019-11-06 22:59:07 +01:00
antelle
1f4f3101f2 fix #1335: removed the menubar on Windows and Linux 2019-11-04 21:36:14 +01:00
antelle
12c7313935 fixed electron deprecations 2019-10-26 22:58:48 +02:00
antelle
8c124f8980 fix #480: option to launch the app minimized 2019-10-06 13:14:12 +02:00
antelle
5a8927b547 fix #565: global shortcut to open KeeWeb 2019-10-06 12:27:18 +02:00
antelle
cc9e369b6f fix #963: keyboard shortcut to copy OTP in background 2019-10-06 08:48:11 +02:00
antelle
dcce37d99e fix #1273: untranslated menu items 2019-10-05 08:37:10 +02:00
antelle
9a8f595514 fix #1275: starting the app after closing on macOS 2019-09-29 10:34:47 +02:00
antelle
49b5b3d41e fixed desktop apps startup 2019-09-28 20:03:03 +02:00
antelle
42134b4888 fix a color flash on start 2019-09-28 13:43:30 +02:00
antelle
bc8aad5062 fix #1256: error during updating the app 2019-09-20 20:35:05 +02:00
antelle
a1a649cd9f electron events 2019-09-20 20:31:19 +02:00
antelle
56d84e1d18 fix #348: configurable system-wide shortcuts 2019-09-14 16:36:30 +02:00
antelle
7977bbf6e1 smooth window startup color transition for the dark theme 2019-09-08 15:11:41 +02:00
antelle
55f4ff8f73 eslint 2019-09-08 09:39:30 +02:00
antelle
6715c614ac fix titlebar color on macOS dark theme 2019-09-07 19:16:09 +02:00
antelle
105205661f fix #1232: removed an unwanted menubar on windows and linux 2019-08-19 20:10:58 +02:00
antelle
fa4ff0b0c3 prettier 2019-08-18 08:05:38 +02:00
antelle
8ab1ec615f bugfixes for new Electron and webpack 2019-08-17 15:20:00 +02:00
antelle
84a23e4aea prettier 2019-08-16 23:05:39 +02:00
antelle
ce5b0cb303 copy the cookies file if it's not possible to move it 2019-04-25 18:17:37 +02:00
antelle
31986b1d50 merge master 2019-02-09 21:49:23 +01:00
antelle
ab0da3f49c focus issues fix 2019-02-09 12:11:32 +01:00
umlx5h
2f6996c1fb Add close window item to menu on Mac 2019-02-05 11:19:29 +09:00
antelle
20c651da41 Merge branch 'master' into develop 2019-01-13 17:28:43 +01:00
antelle
572be56d75 fixed second-instance unsubscription 2019-01-08 18:40:51 +01:00
antelle
d9860935c1 fixed window activation when KeeWeb is launched second time 2019-01-08 18:39:38 +01:00
antelle
0c7210b177 fixed require(electron) 2019-01-07 22:04:39 +01:00
antelle
ee94183e2a devtools mode 2019-01-07 20:43:14 +01:00
antelle
bd9144628f fixed electron dev requests 2019-01-07 20:38:58 +01:00
antelle
090e75b6ed moveing files 2019-01-07 18:35:29 +01:00
antelle
ae8e6e4bc8 fix #810: Google Drive cookies 2019-01-06 23:33:09 +01:00
antelle
cf3a69d1e2 fix 1079: error launching another instance 2019-01-06 19:09:34 +01:00
antelle
567f349bb0 up electron 2019-01-06 14:45:50 +01:00
Coises
415eb11677 always-restore-to-a-connected-monitor
Issue #954: If a display is disconnected while KeeWeb is minimized,
when the window position is restored (either during the same session
or after quitting and restarting KeeWeb) it will typically be positioned
where the now disconnected display used to be, making it difficult
for the user to find the window and reposition it to a connected display.

This commit makes KeeWeb check whenever the window position is restored
to be sure there is enough of the title bar on some connected display
that the user can find and drag the window. If there is not, the window
is repositioned to the primary display.
2018-09-23 14:31:29 -07:00
Coises
d2446cd0e1 tray-min-auto-type-select-fix
The fix for alt-tab behavior when KeeWeb is minimized to the tray
in 3dae878 left a problem when auto-type raises a selection list: the
taskbar button shows, and after a selection is made KeeWeb minimizes
to the taskbar but leaves a tray icon present. The same thing happens
if auto-type is canceled by clicking either the minimize button or the
close button at the top right of the selection window. From this state,
various scenarios lead to having duplicate tray icons.

This commit restores the behavior of 1.6.3 when auto-type raises
a selection list while KeeWeb is minimized to the tray: the selection
window shows, the tray icon stays, and no taskbar button shows.

We used to minimize the window after selection regardless of its
previous state; this worked because we hid the taskbar button and
minimized the window when minimizing to the tray, but that's what caused
the alt-tab problem. Since we now hide when minimizing to the tray,
we have to know whether to minimize or hide after selection.

The simplest way to do that is to keep the old behavior of leaving the
tray icon present when auto-type raises a selection window while KeeWeb
is minimized to the tray. Instead of calling minimize on the main
window, launcher-electron.js now calls app.minimizeThenHideIfInTray
which is defined in desktop/app.js. That routine minimizes KeeWeb (which
returns focus to the previously active window) and then hides the main
window if and only if a tray icon is present. Because we don't want a
tray icon and a taskbar button present at the same time, app.minimizeApp
is also changed to restore the call to mainWindow.setSkipTaskbar(true)
in the non-Darwin path; thus, when auto-type raises a selection window,
there won't be a taskbar button if KeeWeb was minimized to the tray.

If auto-type is canceled by clicking the top right close button while a
selection list is displayed and there is a tray icon, the KeeWeb window
is hidden and the tray icon stays, just as one would expect. This is
the most likely way someone using "Minimize app instead of close" would
choose to dismiss the auto-type selection list.

If auto-type is canceled when a selection list is displayed while there
is a tray icon by clicking the top right minimize button, by using
alt-tab, or by clicking outside the selection window, the KeeWeb window
reverts to its normal display and shows in the alt-tab list, but the
tray icon remains and no taskbar button is shown. This is not ideal;
it could be addressed in another commit if it seems worth doing. This
commit mitigates these scenarios by adding a check to app.minimizeApp
to assure that we never create a second tray icon if one is already
present. This can do no harm and might catch other "corner cases" that
are difficult to foresee. The next time the tray icon is clicked or
the app is minimized to the tray by clicking the top right close button
normal behavior is fully restored.

If I've made no mistakes, the only change to the Darwin path is that it,
too, is subject to the check that a new tray icon is not created if one
already exists. I'm guessing that's OK, but I have no way to test
Darwin.
2018-09-04 20:34:11 -07:00
Coises
1e036a3d58 Fix Issue #807 - single instance not enforced
We were checking for single instance too late.
It needs to be done before almost anything else happens.
2018-09-02 12:25:42 -07:00
Coises
8218f39192 Fix for Issue #877 - remove bad Origin header
When sending a PUT XMLHttpRequest Chromium includes the header
"Origin: file://".
This confuses some WebDAV clients, notably OwnCloud.
The header is invalid, so removing it everywhere it occurs
should do no harm.
2018-08-28 00:49:45 -07:00
Coises
3dae87853c Proper minimize to tray for Windows (and Linux?) 2018-08-15 15:41:08 -07:00
kasoban
55bb0fa1df Fixes #531: Window icon scaling error on win32 Electron app 2018-01-15 14:50:48 +01:00
antelle
0e148594fb mac menubar icon (wip) 2017-12-04 22:33:40 +01:00
antelle
9b30a17df0 fixed eslint 2017-12-04 19:32:06 +01:00