Latest Posts

Topic: major issues with Widelands

passerby
Avatar
Joined: 2021-09-26, 13:03
Posts: 2
Ranking
Just found this site
Posted at: 2021-09-26, 13:35

Linux Mint 20.1, Cinnamon 4.8.6.

Just installed Widelands from the Software Manager (SM). Build is listed in SM as 1.20-2build2. However, there are some immediate issues which need solving.

  1. Widelands does not open in full screen; just a square window which really limits the playing area. Not obvious how to make it full screen.

  2. "Options" does not open from the main menu. Instead an error message appears in a window titled "Unexpected error during the game" "LayeredFileSystem: Could not find file or directory: i18n/fonts/Nakula/nakula.ttf I have tried the following path(s) /home/user/.widelands/18n/fonts/Nakula/nakula.ttf /usr/share/games/widelands/data/18n/fonts/Nakula/nakula.ttf"

  3. Same error occurs when trying to access "About"

  4. There appears to be no easy way (i.e. a shortcut) to exit "Play Tutorial" or "Editor" or "Single Player" (or "Multiplayer"?) in order to return to the main menu. You have to open the "Main menu" option and go through the options there. There should be an obvious keyboard shortcut.

  5. In game play when a child window open (to give information) you have no access to the rest of the screen. So you cannot pause or exit for example (even though "Pause" is always visible when the child window is open). This can be especially problematic when a series of windows opens one after the other . Expected behaviour: Pause and Exit should work even when child windows are open.

  6. Alt + F4 immediately closes the game with no warning. Expected behaviour: When Alt+F4 is pressed an options dialog should open.

  7. There should be a quick and easy way to pause the program and open a list of keyboard shortcuts.

  8. It is not possible to copy text from child windows. This is invaluable when posting bug reports for example. Expected behaviour: Allow text in child windows to be copied by highlighting etc.


Top Quote
Nordfriese
Avatar
Joined: 2017-01-17, 18:07
Posts: 1510
Ranking
One Elder of Players
Location: 0x55555d3a34c0
Posted at: 2021-09-26, 14:29

Hi passerby and welcome to the forum face-smile.png

Widelands build 20 is outdated by two versions, the current release is version 1.0 (package version 2:1.0~ubuntu??.??.1). It's not available in the package repos yet, only via PPA or flatpak. Some of these issues should already be fixed in the current version, e.g. there's a keyboard shortcut configuration window in the options menu.

In the game and editor, you can view all available shortcuts by opening the encyclopedia (F1 or toolbar button) and choosing the last entry (Tips) in the first tab (General)). You can toggle between fullscreen and windowed mode via either F or Ctrl+F1; in more recent versions you can also resize the game window.. The shortcut to pause/unpause is the Pause key.

Whether Alt+F4 should ask for confirmation or not is a matter of taste, IMHO. To me this shortcut means "exit the program immediately" so I don't like it when a game chooses to ask me "are you sure" first. This shortcut is hard to hit by accident, so if I press it then yes I am sure. +1 for a return-to-mainmenu shortcut though.

Story message boxes in tutorials and campaigns block all user input by design to prevent you accidentally closing them. The same applies for some error messages etc. Other child windows do not have this behaviour.

Copying text is a feature on our wishlist, and we've made some progress there though much is still under development. You can use F11 or Ctrl+F111 to create a screenshot though.

The font error is specific to packaging – Widelands ships some uncommon fonts for certain non-latin languages, but some distros replaces them with an equivalent third-party package and symlinks. Please try if the solution given in this similar bugreport works for you.


  1. Some shortcuts were changed a while ago so I'm not sure if your version requires Ctrl+Key or only the Key for those. 

Edited: 2021-09-26, 14:31

Top Quote
passerby
Avatar
Joined: 2021-09-26, 13:03
Posts: 2
Ranking
Just found this site
Posted at: 2021-09-26, 18:30

OK, I've installed the latest flatpak version: most of the issues are now resolved, except the difficulty exiting the tutorial games.

And, of course the expected behaviour of Alt+F4 is to close the program immediately.

Just one more thing. The text is small; is it possible to enlarge it, maybe even change colour and background? If not, that's a suggestion.

P.S. I couldn't find any way to edit the title of the forum post once sent.

Edited: 2021-09-26, 18:36

Top Quote
Nordfriese
Avatar
Joined: 2017-01-17, 18:07
Posts: 1510
Ranking
One Elder of Players
Location: 0x55555d3a34c0
Posted at: 2021-09-26, 20:00

You can create a new Theme add-on and edit its <datapath>/addons/your_new_theme.wad/init.lua to change font sizes and colours. That directory also contains the images used for window borders, widget backgrounds etc. Many UI elements still have a hardcoded size though – making everything scalable is a long-standing wishlist feature.

Currently, two alternative themes are available for download (regarding colours you might want to try out "Minimalistic Theme"), but none with larger-than-default fonts so far.

P.S. I couldn't find any way to edit the title of the forum post once sent.

Thread titles can only be edited by forum admins

Edited: 2021-09-26, 20:01

Top Quote