Merge tag 'epoch-1.8.0' into local/libcosmic-path-patch

Epoch 1.8.0

# Conflicts:
#	Cargo.lock
This commit is contained in:
Lionel DARNIS 2026-09-10 17:57:28 +02:00
commit e8eb42b507
20 changed files with 361 additions and 133 deletions

419
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
[package] [package]
name = "cosmic-files" name = "cosmic-files"
version = "1.7.0" version = "1.8.0"
authors = ["Jeremy Soller <jeremy@system76.com>"] authors = ["Jeremy Soller <jeremy@system76.com>"]
edition = "2024" edition = "2024"
license = "GPL-3.0-only" license = "GPL-3.0-only"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "cosmic-files-applet" name = "cosmic-files-applet"
version = "1.7.0" version = "1.8.0"
edition = "2024" edition = "2024"
[dependencies] [dependencies]

6
debian/changelog vendored
View file

@ -1,3 +1,9 @@
cosmic-files (1.8.0) noble; urgency=medium
* Epoch 1.8.0 version update
-- Jeremy Soller <jeremy@system76.com> Wed, 02 Sep 2026 08:14:53 -0600
cosmic-files (1.7.0) noble; urgency=medium cosmic-files (1.7.0) noble; urgency=medium
* Epoch 1.7.0 version update * Epoch 1.7.0 version update

View file

@ -431,3 +431,6 @@ rename-confirm = Přejmenovat
checksum = Kontrolní součet { $kind } checksum = Kontrolní součet { $kind }
calculate = Vypočítat calculate = Vypočítat
error = Chyba error = Chyba
search-application = Hledat podle názvu aplikace
sidebar-label = Popisek v postranním panelu
change-sidebar-label = Změnit popisek v postranním panelu

View file

@ -331,3 +331,6 @@ rename-confirm = Μετονομασία
checksum = Άθροισμα ελέγχου { $kind } checksum = Άθροισμα ελέγχου { $kind }
calculate = Υπολογισμός calculate = Υπολογισμός
error = Σφάλμα error = Σφάλμα
sidebar-label = Ετικέτα πλαϊνής στήλης
search-application = Αναζήτηση με όνομα εφαρμογής
change-sidebar-label = Αλλαγή ετικέτας πλαϊνής στήλης

View file

View file

@ -456,3 +456,6 @@ rename-confirm = Renommer
calculate = Calculer calculate = Calculer
error = Erreur error = Erreur
checksum = Somme de contrôle { $kind } checksum = Somme de contrôle { $kind }
sidebar-label = Libellé de la barre latérale
search-application = Chercher par nom d'appli
change-sidebar-label = Changer le libellé de la barre latérale

View file

@ -446,6 +446,9 @@ context-action-confirm-warning =
} fog lefutni. } fog lefutni.
run = Futtatás run = Futtatás
rename-confirm = Átnevezés rename-confirm = Átnevezés
checksum = { $kind } ellenőrzőösszeg checksum = { $kind }-ellenőrzőösszeg
calculate = Számítás calculate = Számítás
error = Hiba error = Hiba
sidebar-label = Oldalsávcímke
search-application = Keresés alkalmazásnév alapján
change-sidebar-label = Oldalsávcímke módosítása

View file

@ -331,3 +331,6 @@ rename-confirm = Ganti nama
checksum = { $kind } checksum checksum = { $kind } checksum
calculate = Hitung calculate = Hitung
error = Galat error = Galat
sidebar-label = Label bilah sisi
search-application = Cari berdasarkan nama aplikasi
change-sidebar-label = Ubah label bilah sisi

View file

@ -331,3 +331,6 @@ type-to-search-select = Pel an peldanka yekem a lihevhatî hildibijêre
calculate = Bijmêre calculate = Bijmêre
error = Şaşetî error = Şaşetî
checksum = Tevahiya { $kind } kontrol bike checksum = Tevahiya { $kind } kontrol bike
sidebar-label = Nîşanka benda kêlekê
search-application = Li gorî navê sepanê bigere
change-sidebar-label = Nîşanka benda kêlekê biguhêrîne

View file

@ -450,3 +450,6 @@ rename-confirm = Zmień nazwę
checksum = { $kind } suma kontrolna checksum = { $kind } suma kontrolna
calculate = Oblicz calculate = Oblicz
error = Błąd error = Błąd
sidebar-label = Etykieta panelu bocznego
search-application = Wyszukaj po nazwie aplikacji
change-sidebar-label = Zmień etykietę panelu bocznego

View file

@ -111,7 +111,7 @@ rename-folder = Renomear pasta
## Change Sidebar Label Dialog ## Change Sidebar Label Dialog
sidebar-label = Rótulo da barra lateral sidebar-label = Legenda da barra lateral
## Replace Dialog ## Replace Dialog
@ -369,7 +369,7 @@ open-in-terminal = Abrir no terminal
move-to-trash = Mover para a lixeira move-to-trash = Mover para a lixeira
restore-from-trash = Restaurar da lixeira restore-from-trash = Restaurar da lixeira
remove-from-sidebar = Remover da barra lateral remove-from-sidebar = Remover da barra lateral
change-sidebar-label = Alterar rótulo na barra lateral change-sidebar-label = Alterar legenda da barra lateral
sort-by-name = Ordenar por nome sort-by-name = Ordenar por nome
sort-by-modified = Ordenar por data de modificação sort-by-modified = Ordenar por data de modificação
sort-by-size = Ordenar por tamanho sort-by-size = Ordenar por tamanho
@ -454,3 +454,4 @@ rename-confirm = Renomear
checksum = Soma de verificação { $kind } checksum = Soma de verificação { $kind }
calculate = Calcular calculate = Calcular
error = Erro error = Erro
search-application = Pesquisar por nome de aplicativo

View file

@ -383,14 +383,16 @@ clear-recents-history = Очистить историю недавних
copy-path = Копировать путь copy-path = Копировать путь
mixed = Смешанные mixed = Смешанные
context-action = Контекстная команда context-action = Контекстная команда
context-action-confirm-title = Выполнить «{ $name }»? context-action-confirm-title = Запустить «{ $name }»?
context-action-confirm-warning = context-action-confirm-warning =
Команда затронет { $items } { $items -> Команда затронет { $items } { $items ->
[one] элемент [one] элемент
*[other] элем. *[other] элем.
}. }.
run = Выполнить run = Запустить
rename-confirm = Переименовать rename-confirm = Переименовать
checksum = Хеш-сумма { $kind } checksum = Хеш-сумма { $kind }
calculate = Вычислить calculate = Вычислить
error = Ошибка error = Ошибка
sidebar-label = Подпись в боковой панели
change-sidebar-label = Изменить подпись

View file

@ -422,3 +422,6 @@ rename-confirm = Byt namn
checksum = { $kind }-kontrollsumma checksum = { $kind }-kontrollsumma
calculate = Beräkna calculate = Beräkna
error = Fel error = Fel
sidebar-label = Sidofältsetikett
search-application = Sök på programnamn
change-sidebar-label = Ändra sidofältsetikett

View file

@ -392,3 +392,6 @@ mixed = Змішано
checksum = контрольна сума { $kind } checksum = контрольна сума { $kind }
calculate = Вирахувати calculate = Вирахувати
error = Помилка error = Помилка
sidebar-label = Назва бічної панелі
search-application = Пошук за назвою застосунку
change-sidebar-label = Змінити назву бічної панелі

View file

@ -449,3 +449,6 @@ rename-confirm = 重命名
calculate = 计算 calculate = 计算
error = 错误 error = 错误
checksum = { $kind } 校验和 checksum = { $kind } 校验和
sidebar-label = 侧边栏标签
search-application = 使用应用名称搜索
change-sidebar-label = 更改侧边栏标签

View file

@ -396,3 +396,6 @@ rename-confirm = 重新命名
checksum = { $kind } 核對和 checksum = { $kind } 核對和
calculate = 計算 calculate = 計算
error = 錯誤 error = 錯誤
sidebar-label = 側邊欄標籤
search-application = 依應用程式名稱搜尋
change-sidebar-label = 變更側邊欄標籤

View file

@ -4889,7 +4889,9 @@ impl Application for App {
tasks.push(Task::future(async move { tasks.push(Task::future(async move {
cosmic::action::app(Message::WindowClose) cosmic::action::app(Message::WindowClose)
})); }));
} else if let Some(position) = self.tab_model.position(entity) { } else if entity == self.tab_model.active()
&& let Some(position) = self.tab_model.position(entity)
{
let new_position = if position > 0 { let new_position = if position > 0 {
position - 1 position - 1
} else { } else {

View file

@ -563,6 +563,16 @@ fn update<Message: Clone>(
state.last_position = position_in; state.last_position = position_in;
} }
if state.drag_initiated.is_some()
&& matches!(
event,
Event::Mouse(mouse::Event::CursorMoved { .. })
| Event::Touch(touch::Event::FingerMoved { .. })
)
{
shell.request_redraw();
}
if let Event::Mouse(mouse::Event::CursorMoved { position }) = event { if let Event::Mouse(mouse::Event::CursorMoved { position }) = event {
let virtual_position = Point::new( let virtual_position = Point::new(
viewport.x - layout_bounds.x + position.x, viewport.x - layout_bounds.x + position.x,
@ -639,6 +649,7 @@ fn update<Message: Clone>(
{ {
state.drag_initiated = None; state.drag_initiated = None;
state.prev_click = None; state.prev_click = None;
shell.request_redraw();
if let Some(message) = widget.on_drag_end.as_ref() { if let Some(message) = widget.on_drag_end.as_ref() {
shell.publish(message(cursor.position_in(layout_bounds))); shell.publish(message(cursor.position_in(layout_bounds)));
} }
@ -658,7 +669,9 @@ fn update<Message: Clone>(
state.prev_click = None; state.prev_click = None;
return; return;
} }
state.drag_initiated = None; if state.drag_initiated.take().is_some() {
shell.request_redraw();
}
if let Some(message) = widget.on_release.as_ref() { if let Some(message) = widget.on_release.as_ref() {
shell.publish(message(cursor.position_in(layout_bounds))); shell.publish(message(cursor.position_in(layout_bounds)));