From b7c99e05c97965183c7e965b671720e31622b0f0 Mon Sep 17 00:00:00 2001 From: Til Schmitter Date: Thu, 4 Jun 2026 15:20:08 +0200 Subject: [PATCH 1/3] minor splash fix for 3ds --- copyparty/web/splash.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/copyparty/web/splash.css b/copyparty/web/splash.css index 84453110..011f3b4c 100644 --- a/copyparty/web/splash.css +++ b/copyparty/web/splash.css @@ -172,11 +172,13 @@ a.r:hover, a.r:focus-visible { #pb { opacity: .5; position: fixed; + white-space: nowrap; bottom: .5em; right: .5em; } #pb span { opacity: .6; + pointer-events: none; } #pb a { margin: 0; From ec56e8342fc2c35ab844317c4349c8531c49a188 Mon Sep 17 00:00:00 2001 From: Til Schmitter Date: Thu, 4 Jun 2026 20:41:56 +0200 Subject: [PATCH 2/3] allow hotkeys when checkboxes are focused --- copyparty/web/browser.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 793b80c8..51d02f22 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -7054,7 +7054,8 @@ var ahotkeys = function (e) { var k = (e.key || e.code) + '', pos = -1, n, sh = e.shiftKey, ae = document.activeElement, - aet = ae && ae != document.body ? ae.nodeName.toLowerCase() : ''; + aet = ae && ae != document.body ? ae.nodeName.toLowerCase() : '', + aett = aet ? ae.type : ''; if (k.startsWith('Key')) k = k.slice(3); @@ -7125,7 +7126,7 @@ var ahotkeys = function (e) { return ebi('griden').click(); } - if (aet == 'input') + if (aet == 'input' && aett != 'checkbox') return; var in_ftab = (aet == 'tr' || aet == 'td') && ae.closest('#files'); @@ -7178,7 +7179,7 @@ var ahotkeys = function (e) { if (k.endsWith('Enter') && ae && (ae.onclick || ae.hasAttribute('tabIndex'))) return ev(e) && ae.click() || true; - if (aet && aet != 'a' && aet != 'tr' && aet != 'td' && aet != 'div' && aet != 'pre') + if (aet && aet != 'a' && aet != 'tr' && aet != 'td' && aet != 'div' && aet != 'pre' && aett != 'checkbox') return; if (k == '?') From 1789303eb600be7253dfc439446b6c7cb942dd68 Mon Sep 17 00:00:00 2001 From: Til Schmitter Date: Thu, 4 Jun 2026 20:43:21 +0200 Subject: [PATCH 3/3] cancel button for paste operations --- copyparty/web/browser.css | 4 ++++ copyparty/web/browser.js | 18 +++++++++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index ad462826..d3e42f73 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -1444,6 +1444,10 @@ html:not(.e):not(.d) #up_quick .btn.on { #wfm.act { display: inline-block; } +#wfm .x { + font-size: 1.5em; + line-height: .65em; +} #wtoggle, #wtoggle * { line-height: 1em; diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 51d02f22..ab754a05 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -974,6 +974,7 @@ ebi('widget').innerHTML = ( '
' + '' + '×cancel📨share' + (fun_tgl ? '✏️' : '✎') + 'name🗑️del.