I'm running into a problem on both my Intel (ThinkPad X1 Carbon) and AMD (Framework 13) machines. Both produce the below warnings during compilation, which would seem to be the cause of the behaviors I'm experiencing. espanso service register && espanso service start
produces a generic gear logo icon in the dock (see screenshot), as well as a square (failed dialog rendering?) and pixel artifacts on screen (see screenshot)
https://paste.pics/e36f3f390735788f3f1fdc2657f202c7
https://paste.pics/5ca6f0e346329d533cd2b592bf2f35bc
Partial output of yay -S espanso-wayland
:
Compiling espanso v2.2.1 (/home/shawn/.cache/yay/espanso/src/espanso-2.2.1/espanso)
warning: field `show_in_dock` is never read
--> espanso/src/cli/mod.rs:49:7
|
42 | pub struct CliModule {
| --------- field in this struct
...
49 | pub show_in_dock: bool,
| ^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: method `get_default_config` is never used
--> espanso/src/cli/worker/context/mod.rs:31:6
|
30 | pub trait ConfigContext {
| ------------- method in this trait
31 | fn get_default_config(&self) -> Arc<dyn Config>;
| ^^^^^^^^^^^^^^^^^^
warning: field `search_icon` is never read
--> espanso/src/icon.rs:52:7
|
50 | pub struct IconPaths {
| --------- field in this struct
51 | pub form_icon: Option<PathBuf>,
52 | pub search_icon: Option<PathBuf>,
| ^^^^^^^^^^^
|
= note: `IconPaths` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
warning: `espanso` (bin "espanso") generated 3 warnings
Finished `release` profile [optimized] target(s) in 2m 11s
warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0, html5ever v0.25.1, xml5ever v0.16.1
note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
Pinned Comments
carsme commented on 2024-01-21 08:25 (UTC)
NOTICE: The standalone
espanso-wayland
package has been merged into this pkgbase, which now builds two distinct packages:espanso-x11
: Espanso built for X11, replaces the formerespanso
package.espanso-wayland
: Espanso built for Wayland, identical to the former standaloneespanso-wayland
package.This change simplifies maintenance and ensures the packages are kept in sync. It does however incur slightly longer build times, as Espanso is compiled twice during the build process.
Your AUR helper will hopefully handle the upgrade/migration automatically.
Let me know if you encounter any issues.