amethyst / amethyst/bracket-lib
Unexpected titlebar behavior on Ubuntu 22.04
- Ngôn ngữ chính
- Rust
- Star
- 1.7k
- Fork
- 126
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
I ran into some strange behavior on a fresh install of Ubuntu 22.04.
As you can see from the image, the titlebar decoration does not use the
system default decoration and the title name is not displayed even with the following code:
```
let mut console = rltk::RltkBuilder::simple(width, height)
.ok()
.unwrap()
.with_title("Rustrl")
.with_dimensions(width, height)
.with_tile_dimensions(16, 16)
.with_advanced_input(true)
.with_font(term, 8, 8)
.with_font(vga, 8, 16)
.with_font(rogueyun, 16, 16)
.with_font(rogueyunggfx, 16, 16)
.with_simple_console(width, height, rogueyun) // Tile layer
.with_sparse_console(width, height, rogueyun) // Feature layer
.with_sparse_console(width, height, rogueyun) // Item layer
.with_fancy_console(width, height, rogueyun) // Effect layer
.with_fancy_console(width, height, rogueyun) // Creature layer
.with_fancy_console(width, height, rogueyun) // Projectile layer
.with_fancy_console(width, height, rogueyun) // Gui layer
.build()
.ok()
.unwrap();
```

I'm assuming that this has to do with the way Bracket-lib is working with a dependency like winit.
I was not able to reproduce the issue on another machine running Ubuntu 20.04.
In addition when running the executable either directly or from a rustrl.desktop file, the name of the application that shows on the top bar says "unknown".
I'm not sure if this is somehow related to the first issue of the name not appearing in the titlebar.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.