Skip to content

Default location of the dictionaries broken on OS/2 and Windows #271

@dryeo

Description

@dryeo

Without QTWEBENGINE_DICTIONARIES_PATH set in the environment, Dooble tries to load the bdic files from root. See image for OS/2

Image

And for Windows, https://www.os2world.com/forum/index.php?action=dlattach;topic=3275.0;attach=13925;image

This probably a directory separator issue as it works as expected under Linux and the backslash is often treated as an escape character.

Testing older builds, 2023.12.25 works as expected,
2024.01.25 gives this message, "The directory qtwebengine_dictionaries cannot be accessed. Please read Source/dooble_settings.cc, line 2285."
2024.11.23 gives, "The directory qtwebengine_dictionaries cannot be accessed. Dooble searched W:/\qtwebengine_dictionaries. Please read Source/dooble_settings, line 2363."
2025.11.25 gives the "Warning \en_CA.bdic cannot be accessed!"

Note, OS/2 is pretty agnostic about the directory separator though backslash is the official one. I see that Dooble is using W:/Home.dooble for its profile successfully.
Not sure about Windows though it also seems to handle mixed directory separators.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions