Commit graph

368 commits

Author SHA1 Message Date
KENZ
e37f73dcbb fix: don't capture all mouse events
- this fixed find panel buttons
- similar fix for cosmic-edit of:
  -
    6ea24b8518
2026-04-16 01:03:19 +09:00
Chris Glass
27e2d682a5 Cargo fmt 2026-04-10 19:06:54 +02:00
Chris Glass
a747b03c17 Bonus: reduce size of Message further
Turns out we can reduce the size of Message even further by also boxing
the Config variant.

The size of the Message enum has now dropped from 900+ bytes to 64
bytes.
2026-04-10 19:00:25 +02:00
Chris Glass
b654808734 Ingore clippy warnings about too many arguments 2026-04-10 18:40:26 +02:00
Chris Glass
eca9421e87 We don't need to match for only one case
Instead, let's use a simple if statement. If in the future we need to
care about other cases, we can introduce a match statement again.
2026-04-10 18:36:16 +02:00
Chris Glass
72a27129e3 Don't pass the large DialogMessage on the stack
Instead, since the size of DialogMessage is allocated in the Message
enum, pass it as a box, so that only the size of a pointer is allocated
on the stack instead.
2026-04-10 18:32:09 +02:00
Chris Glass
f50ece41eb Fix all auto-fix from clippy 2026-04-10 18:09:25 +02:00
Hojjat
c8b18c2827 chore: update to the latest libcosmic
applies iced re-export changes
2026-04-09 12:47:22 -04:00
Hojjat
1d86974682 fix: keep the url in state for menu actions and underline 2026-04-09 12:47:22 -04:00
Hojjat
8b95675c9b fix: gate wayland features and add inline popover fallback 2026-04-09 12:47:22 -04:00
Hojjat
467998433c chore: cargo fmt 2026-04-09 12:47:22 -04:00
Hojjat
133c526acd fix: dismiss context menu when clicking in any pane 2026-04-09 12:47:22 -04:00
Hojjat
0b1490e7ff fix: use window-absolute coordinates for context menu position in split panes 2026-04-09 12:47:22 -04:00
Hojjat
0575680860 feat: Convert context menu from widget::popover to Wayland popup surface 2026-04-09 12:47:22 -04:00
Hojjat
81c62faa05 chore: cargo fmt 2026-04-02 09:45:38 -06:00
Hojjat
fd99bb9b55 chore: updates for new cosmic-text 2026-04-01 20:16:02 -06:00
Hojjat
8ae5918ccd fix: fix the one pixel wide gap between panes 2026-03-27 16:43:45 -04:00
Hojjat
8203b1e233 fix(style): add the background color to that tab bar 2026-03-24 10:48:58 -06:00
Hojjat
9ed56eb2db fix: prevent crash when splits are resized too small 2026-03-24 10:32:19 -06:00
Hojjat
1428345cad fix: only send "space" to the focused pane 2026-03-19 11:44:06 -06:00
Ashley Wulber
f62abcea4e
feat: rebase libcosmic onto iced 0.14 2026-03-18 17:21:57 +01:00
Chris Glass
8781276c3f Fix "Copy link" lingering highlight bug
Previously introduced "Copy Link" seems to have missed some changes
added top "Open Link" which results in a lingering "underline" when
copying links.

For some reason the file was not properly formatted acoring to rust-fmt,
so some unrelated formatting changes snuck in.
2026-02-28 22:12:57 +01:00
Toby Gethin
260bb79728 fix: increase menu width to prevent cutting off toggle maximized 2026-02-21 19:35:37 +11:00
Josh Megnauth
108ba0dfe3 Activate nearest tab only if closing focused tab
Closes: #719

The nearest tab should only be focused if the currently focused tab is
closed.
2026-02-19 15:18:05 -05:00
Jeremy Soller
b9062e47d5
Merge pull request #662 from adil192/feat/add-working-dir-arg
feat: add `--working-directory` arg
2026-02-19 12:40:37 -07:00
Jeremy Soller
daed262005 Update cosmic-text and remove palette dependency 2026-02-19 09:22:20 -07:00
Jeremy Soller
546ccfaa6b
Merge pull request #733 from chrisglass/add-copy-url
Add "Copy link" to context menu
2026-02-18 11:01:48 -07:00
Jeremy Soller
13dbb49662 Update light theme normal white color 2026-02-18 10:24:06 -07:00
Jeremy Soller
ee6d546dc5 COSMIC Light theme update and built-in theme cleanup 2026-02-18 10:12:25 -07:00
Adil Hanney
7848e64bab
tweak: make options and tab_title_override not mut 2026-02-16 23:48:14 +00:00
Adil Hanney
75cfa52673
fix: merge profile and startup options 2026-02-16 23:36:40 +00:00
Jacob Kauffmann
773c3719a1 Merge branch 'master' into feat/add-working-dir-arg 2026-02-16 12:41:51 -07:00
Chris Glass
a6522c4816 Add "Copy link" to context menu 2026-02-15 11:15:12 +01:00
Jeremy Soller
51454564cc Generate translated desktop and metainfo files with xdgen 2026-02-12 15:23:04 -07:00
Jeremy Soller
16fe126138
Merge branch 'master' into feat/tab-dnd 2026-02-12 14:37:17 -07:00
Jeremy Soller
f6f8772f5d Change Unbind action to Disable to match cosmic-settings 2026-02-05 13:49:05 -07:00
Jeremy Soller
3bb79a36ac Fix improper handling of escape 2026-02-05 13:39:32 -07:00
Jeremy Soller
7d2f631c5d More design adjustments 2026-02-05 13:36:38 -07:00
Jeremy Soller
b9b2153230 Adjust to design and hard-code Copy and Paste special keys 2026-02-05 13:17:18 -07:00
Jeremy Soller
1b980df309 Implement key bind reset 2026-02-05 12:57:56 -07:00
Jeremy Soller
6752b9a434 Do not automatically show keyboard shortcuts 2026-02-05 11:50:32 -07:00
Jeremy Soller
182e1549fd Move keyboard shortcuts to menu item 2026-02-05 11:31:05 -07:00
Jeremy Soller
92d22621e4 Implement shortcut search 2026-02-05 11:25:53 -07:00
Jeremy Soller
1564a77e5f Shortcut design updates and fix escape behavior 2026-02-05 10:34:58 -07:00
Levi Portenier
974ca4ecc6
Merge branch 'master' into configurable-hotkeys 2026-02-04 11:31:16 -07:00
nludwig
70e0f5a5f2 add dialog box when replacing existing keybind 2026-02-03 22:08:34 -08:00
Ashley Wulber
54b99741e8
feat: tab dnd 2026-02-03 11:57:47 -05:00
nludwig
cc27b6ab30 fix localization 2026-02-02 15:20:28 -08:00
nludwig
d5f1ac4e91 place shortcuts in existing config 2026-01-29 20:10:25 -08:00
Frederic Laing
1db6692925
fix: hide cursor when scrolled in unfocused terminal 2026-01-16 17:49:10 +01:00