Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two problems about window position and language #5197

Open
2 tasks done
wildtang opened this issue Sep 6, 2024 · 2 comments
Open
2 tasks done

Two problems about window position and language #5197

wildtang opened this issue Sep 6, 2024 · 2 comments
Labels

Comments

@wildtang
Copy link

wildtang commented Sep 6, 2024

DOS-VB-DOS1.zip

Describe the bug

When just launched, DOSBox-X window is not fullly showed, and although language in config file is set to English but showed some chinese chars.

Steps to reproduce the behaviour

  1. Move Windows Taskbar to the right side.
  2. Launch DOSBox-X with the config below Used configuration area (as a config file content)
    command is:
    "F:\OldDosWin\Emulators\DOSBox-X\Newest\bin\Win32\Release SDL2\dosbox-x.exe" -conf F:\OldDosWin\Emulators\DOSBox-X\MyConfs\DOS-VB-DOS1.conf
  3. The window position is a little offset, Max and Close button hidden as image below
    图片
  4. If I minimazed the window by click the DOSBox-X icon on Taskbar, then click it again to show it, the window became no offset (normal as expect) as image below
    图片

Expected behavior

No response

What operating system(s) this bug have occurred on?

Windows 10 LTSC 21H2 (19044.4780)

What version(s) of DOSBox-X have this bug?

ver.2024.07.01 (VS SDL2 32-bit) Build date/time: Jul 02, 2024 03:45:26am

Used configuration

See the attatch file DOS-VB-DOS1.zip

Output log

No response

Additional information

My Host OS is Windows 10 Simplified Chinese version.
Monitor is 27 inch, screen resolution is 2560x1440.
Text scale is 150%
图片

Have you checked that no similar bug report(s) exist?

  • I have searched and didn't find any similar bug report.

Code of Conduct & Contributing Guidelines

  • I agree to follow the code of conduct and the contributing guidelines.
@wildtang wildtang added the bug label Sep 6, 2024
@wildtang
Copy link
Author

wildtang commented Sep 8, 2024

I resolved the problem that When just launched, DOSBox-X shows some Chinese chars, and when run VB for DOS shows some Chinese chars too.

First execute: chcp 437

if not execute chcp 437 before launch VB for DOS, the codepage will be 936, and VB for DOS will shows some Chinese chars as below image.
图片

if execute chcp 437 before launch VB for DOS, and VB for DOS will run normally as image below.
图片

@maron2000
Copy link
Contributor

My monitor is not 2560x1440, but the buttons are not hidden when launched with maximize option, regardless of text size option (100%, 125%, 150%).
I moved to the taskbar to the right side of the screen, as your screenshot just in case, but it didn't matter as well.

maximize

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants