You are not logged in.

#1 2016-10-21 00:33:37

Maniaxx
Member
Registered: 2014-05-14
Posts: 738

[Solved} Wine - small titlebar

Hallo,
on specific windows (i don't know the exact 'window style') i get a too small titlebar (with too small font). This happens on different programs (eg. Notepad++, ClrMamePro) so its probably a general issue for this window style. That window is a standard microsoft 'window style' that only has a 'close' button and smaller titlebar by design (but not so small though). smile
ttf-win7-fonts and 'winetricks corefonts' are installed. GTK decorations (in wine options) have been disabled as well (for testing purpose).

Anyone know how to fix this or can confirm that problem?

XFCE
Wine 1.9.21

winer9uvt.png

Edit: Solved... just cleared the "bottle" (config folder) and restarted from scratch. Problem gone.

Last edited by Maniaxx (2016-10-27 20:48:44)


sys2064

Offline

#2 2018-02-02 18:37:33

noabody
Member
Registered: 2018-02-02
Posts: 4

Re: [Solved} Wine - small titlebar

I'd like to expand on your solution because blowing away the wine profile might be a bigger hassle than the fix.

The problem is a corrupted setting in the WindowMetrics section of ~/.wine/user.reg

[Control Panel\\Desktop\\WindowMetrics]
"BorderWidth"="-15"
"CaptionHeight"="-270"
"CaptionWidth"="-270"
"IconSpacing"="-1125"
"IconTitleWrap"="1"
"IconVerticalSpacing"="-1125"
"MenuHeight"="-270"
"MenuWidth"="-270"
"PaddedBorderWidth"="0"
"ScrollHeight"="-240"
"ScrollWidth"="-240"
"SmCaptionHeight"="-225"
"SmCaptionWidth"="-225"

You can copy and paste the relevant default lines back in.  If you're curious as to what the defaults are just create a temporary .winetmp with a command like:

WINEARCH=win32 WINEPREFIX=~/.winetmp winecfg

Now open ~/.winetmp/user.reg and find the relevant section.  Copy and paste from the new to the old, then delete the .winetmp profile.

Last edited by noabody (2018-02-02 19:50:11)

Offline

#3 2018-02-02 20:27:57

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,846
Website

Re: [Solved} Wine - small titlebar

Thanks for sharing, noabody. I'm going to go ahead and close this old topic now.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB