DirtDiglett / Pressure-for-Steam

A skin to improve the visual aesthetics of Steam
Other
513 stars 117 forks source link

Textbox bug #406

Closed Szaki closed 9 years ago

Szaki commented 9 years ago

Hello!

In the Steam Client/Overlay, let it be the search box or chat, if I type in "ffi", the textbox gets bugged, the cursor moves backward one character and continues writing there. The cursor cannot be moved forward, 'End' command on the keyboard doesn't work, nor 'Ins'. The only fix is to delete everything you've already typed it. I discovered it by trying to type the word 'ruffian' into chat but I could not input it properly cause the textbox didn't let me. This only occurs where the textbox is in the UI, the client itself, but does not appear when I open the Steam Store within the client and try to use the search box on the site.

Pressure v1.0.2 Windows 7 x64 SP1 Latest Steam Client as of I'm writing this.

Szaki commented 9 years ago

Screenshot doesn't show anything. You can see the word 'ffi' typed in, where the cursor is between the second 'f' and the 'i'.

Opting to beta did not help. Fonts were installed from the beginning.

Note: Just moved to Windows 10, format, then clean install, everything reinstalled, the issue is certainly the skin's issue. Other skins don't have it.

Js41637 commented 9 years ago

Yeah this is a weird bug, It happens to me and does not happen in the normal client, not sure what's going on.

bykidi commented 9 years ago

i can confirm that

Wiggin38 commented 9 years ago

Can also confirm. Happens when I type difficult. Spent the better part of an hour blaming Win10.

J5lx commented 9 years ago

For me the bug doesn’t occur - maybe because I’m using Linux? The only mentioned OS in this thread is Windose. Are there any OS X or Linux users experiencing this bug?

DirtDiglett commented 9 years ago

I can't reproduce this at all, anything with ffi in it doesn't make the issue appear. Tried in overlay, out of overlay, in every textbox I can find... odd.

Wiggin38 commented 9 years ago

Very odd. I can confirm it sill happens on my end. Anything we can do to help figure it out ?

bykidi commented 9 years ago

@Wiggin38 what is your system language?

Zerathos commented 9 years ago

I can reproduce the issue; my system language is English (US).

Szaki commented 9 years ago

My system language is English (US) but my keyboard layout is set to Hungarian.

bykidi commented 9 years ago

Pixelvision skin default

Vanilla steam default

Pressure default

Wiggin38 commented 9 years ago

@bykidi English (US) Windows 10 Pro. Both Vanilla and Pixelvision work just fine.

bykidi commented 9 years ago

I fix that problem by uninstalling NotoSans from my X:\Windows\Fonts folder

bykidi commented 9 years ago

Can someone confirm that "solution"?

Wiggin38 commented 9 years ago

That seems to have "fixed" it. However now a bunch of text is messed up. Did you uninstall all of the NotoSans or just a specific one ? Also is it one specifically that's causing it or all of them ?

Edit: It appears that it is any of the NotoSans fonts causing the issue. Edit 2: I have tried a couple of other fonts (Ubuntu and Ubuntu Light) and they also cause the issue. Now using Segoe WP and it seems to be working. If I change the base font does the tweaks no longer work correctly ? I want to make the font larger. Edit 3: Okay now using Segoe WP and a custom created tweak for font size and the issue seems to be resolved.

bykidi commented 9 years ago

Can you guys test NotoSans font on any other skin (PixelVision or etc) so we can exclude Pressure-specific skin problem?

Wiggin38 commented 9 years ago

I did some messing around and "I think" that the issue does NOT happen while using PixelVision and NotoSans.

Zerathos commented 9 years ago

Just tried it in Metro after switching to Noto Sans and was able to get it to happen.

DirtDiglett commented 9 years ago

That's really really strange. Can you guys test it out for me with Roboto instead of Noto and let me know if that has the same issue? If not, I may move to Roboto.

Wiggin38 commented 9 years ago

Looks like Robot is working fine. I am wondering how to change the tote font size.

TheLonerD commented 9 years ago

Win 10, strange and weird bug of font render. But if I disable DirectWrite on Steam settings, then this bug disappears and fonts look much better. text-bug

DirtDiglett commented 9 years ago

This entire issue is just downright strange.

As a temporary workaround for those of you who get the issue you can install Roboto from Google here: https://www.google.com/fonts/download?kit=hY6_qqcqX_JNp8IlbByiXfesZW2xOQ-xsNqO47m55DA Then edit the file in includes/settings.styles and change "Noto Sans" to "Roboto"

I will change the default font to Roboto in Pressure² and Pressure Classic during development.

DirtDiglett commented 9 years ago

I've sorted this issue out in Pressure 1.0.5