diff --git a/CHANGELOG.md b/CHANGELOG.md
index 633a8de..3c4faa4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,12 @@
One section per version, newest first.
+## v0.8.1 (2026-11-04)
+
+### Features
+
+- The password field on the login screen has an eye to show what was typed, and the queue button does the same from a controller while the field is selected. It is hidden again whenever the login screen opens.
+
## v0.8.0 (2026-11-04)
### Features
diff --git a/Cargo.lock b/Cargo.lock
index 1e57d11..5090f98 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4385,7 +4385,7 @@ checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
[[package]]
name = "remus"
-version = "0.8.0"
+version = "0.8.1"
dependencies = [
"anyhow",
"directories",
diff --git a/Cargo.toml b/Cargo.toml
index 3e73ce2..a8dac5e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "remus"
-version = "0.8.0"
+version = "0.8.1"
edition = "2024"
license = "MIT"
diff --git a/flatpak/me.anshorei.Fettleshed.Remus.metainfo.xml b/flatpak/me.anshorei.Fettleshed.Remus.metainfo.xml
index 95f1053..ffaab5a 100644
--- a/flatpak/me.anshorei.Fettleshed.Remus.metainfo.xml
+++ b/flatpak/me.anshorei.Fettleshed.Remus.metainfo.xml
@@ -20,6 +20,7 @@
+
diff --git a/src/app.rs b/src/app.rs
index f587bd3..d8ec081 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -451,6 +451,7 @@ impl App {
self.ui.set_screen(Screen::Login);
// Adding a server from inside the app: the bottom button goes back.
self.ui.set_login_can_cancel(self.client.is_some());
+ self.ui.set_login_password_shown(false);
self.set_login_focus(0);
}
@@ -492,6 +493,12 @@ impl App {
Action::Activate if self.login_focus == 4 => self.action(Action::Quit),
Action::Activate => self.login_submit(),
Action::Back => self.cancel_login(),
+ // The face button that queues elsewhere; a keyboard types into
+ // the field instead, and uses the eye.
+ Action::Queue if self.login_focus == 2 => {
+ self.ui.set_login_password_shown(!self.ui.get_login_password_shown());
+ self.render_hints();
+ }
_ => {}
}
}
@@ -1671,6 +1678,10 @@ impl App {
_ => "Connect",
};
h(Control::Activate, label);
+ if self.login_focus == 2 && matches!(self.prompts, Prompts::Pad(_)) {
+ let shown = self.ui.get_login_password_shown();
+ h(Control::Queue, if shown { "Hide password" } else { "Show password" });
+ }
if adding {
h(Control::Back, "Cancel");
}
diff --git a/ui/app.slint b/ui/app.slint
index 5f78cd4..901dbfd 100644
--- a/ui/app.slint
+++ b/ui/app.slint
@@ -801,6 +801,8 @@ component Field inherits VerticalLayout {
in property label;
in-out property text;
in property password;
+ // A password field shows its text while this is set, toggled by the eye.
+ in-out property shown;
in property highlighted;
callback accepted;
public function focus-input() {
@@ -821,16 +823,55 @@ component Field inherits VerticalLayout {
border-color: input.has-focus || root.highlighted ? Theme.focus : Theme.line;
input := TextInput {
x: 16px * Theme.s;
- width: parent.width - 32px * Theme.s;
+ // Leaves room for the eye on a password field.
+ width: parent.width - (root.password ? 64px : 32px) * Theme.s;
height: parent.height;
text <=> root.text;
font-size: 19px * Theme.s;
color: Theme.text;
vertical-alignment: center;
single-line: true;
- input-type: root.password ? InputType.password : InputType.text;
+ input-type: root.password && !root.shown ? InputType.password : InputType.text;
accepted => { root.accepted(); }
}
+ if root.password: Rectangle {
+ x: parent.width - self.width - 8px * Theme.s;
+ width: 40px * Theme.s;
+ height: parent.height;
+ // An eye to show the password, struck through to hide it again.
+ Path {
+ width: 22px * Theme.s;
+ height: 22px * Theme.s;
+ viewbox-width: 24;
+ viewbox-height: 24;
+ commands: "M 1.5 12 C 4.5 6.5 8 4.5 12 4.5 C 16 4.5 19.5 6.5 22.5 12 C 19.5 17.5 16 19.5 12 19.5 C 8 19.5 4.5 17.5 1.5 12 Z";
+ stroke: eye-area.has-hover ? Theme.text : Theme.muted;
+ stroke-width: 1.6px * Theme.s;
+ }
+ Path {
+ width: 22px * Theme.s;
+ height: 22px * Theme.s;
+ viewbox-width: 24;
+ viewbox-height: 24;
+ commands: "M 12 8.5 A 3.5 3.5 0 1 1 11.99 8.5 Z";
+ fill: eye-area.has-hover ? Theme.text : Theme.muted;
+ }
+ if root.shown: Path {
+ width: 22px * Theme.s;
+ height: 22px * Theme.s;
+ viewbox-width: 24;
+ viewbox-height: 24;
+ commands: "M 3 21 L 21 3";
+ stroke: eye-area.has-hover ? Theme.text : Theme.muted;
+ stroke-width: 1.8px * Theme.s;
+ }
+ eye-area := TouchArea {
+ clicked => {
+ root.shown = !root.shown;
+ input.focus();
+ }
+ }
+ }
}
}
@@ -838,6 +879,7 @@ component LoginView inherits Rectangle {
in-out property server;
in-out property username;
in-out property password;
+ in-out property password-shown;
in property focus-index;
in property error;
in property busy;
@@ -898,6 +940,7 @@ component LoginView inherits Rectangle {
label: "Password";
text <=> root.password;
password: true;
+ shown <=> root.password-shown;
highlighted: root.focus-index == 2;
accepted => { root.submit(); }
}
@@ -1147,6 +1190,7 @@ export component AppWindow inherits Window {
in property login-error;
in property login-busy;
in property login-can-cancel;
+ in-out property login-password-shown;
// Browse
in property <[string]> sections;
@@ -1266,6 +1310,7 @@ export component AppWindow inherits Window {
server <=> root.login-server;
username <=> root.login-username;
password <=> root.login-password;
+ password-shown <=> root.login-password-shown;
focus-index: root.login-focus;
error: root.login-error;
busy: root.login-busy;