Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / [BUG] EditBox text 'jumps'

Author
Message
Jambo B
14
Years of Service
User Offline
Joined: 17th Sep 2009
Location: The Pit
Posted: 8th Oct 2017 10:33 Edited at: 8th Oct 2017 12:18
Hi all,

The previous update to EditBox has had the side effect of making the text 'jump' under certain circumstances. It's only a few pixels, but enough to catch the eye and compromise the sleekness of an app's UI. Can anyone confirm that this happens on their systems?



Edit: On here, it jumps if you click between the s and the o, and then press the button again.

Cheers,

James

p.s. Using Win7, AppGameKit 2017.09.04
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 8th Oct 2017 11:05
Quote: "Can anyone confirm that this happens on their systems?"

i use Win 10 and AppGameKit 2017.09.25, can not see your effect at pc.
AGK (Steam) V2017.09.25 : Windows 10 Pro 64 Bit : AMD (17.9.3) Radeon R7 265 : Mac mini OS High Sierra (10.13)
Jambo B
14
Years of Service
User Offline
Joined: 17th Sep 2009
Location: The Pit
Posted: 8th Oct 2017 12:08 Edited at: 8th Oct 2017 12:19
Ah. Just seen the AppGameKit update. Will install and see if that fixes it.

Edit: No, that didn't fix it. Markus - thanks for trying it. Would you mind having another try? On here, it jumps if you click between the s and the o, and then press the button again.

Thank you,

James
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 8th Oct 2017 13:14
it not jumps, can you post compleate example with initial screen/font etc?
AGK (Steam) V2017.09.25 : Windows 10 Pro 64 Bit : AMD (17.9.3) Radeon R7 265 : Mac mini OS High Sierra (10.13)
Jambo B
14
Years of Service
User Offline
Joined: 17th Sep 2009
Location: The Pit
Posted: 8th Oct 2017 17:19 Edited at: 8th Oct 2017 17:20
@Markus: It's very strange that it's not happening over there. Here's the complete code:



If you take a look at the image attached, you can see how the position of the text has changed after I clicked between the letters s and o. Clicking the button again makes it jump back to where it was. Strange!

Thanks,

James

Attachments

Login to view attachments
Conjured Entertainment
AGK Developer
18
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 8th Oct 2017 18:15
Confirmed

It jumps on my end too.

Am testing now, but have not found a work around yet.

Coding things my way since 1981 -- Currently using AppGameKit V2 Tier 1
ShaunRW
DBPro Developer
16
Years of Service
User Offline
Joined: 7th Jan 2008
Location: Brisbane, Australia
Posted: 8th Oct 2017 18:19 Edited at: 8th Oct 2017 18:29
@Jambo I get the same thing. It seems to happen once SetEditBoxText and sync have been called, then every SetEditBoxText call after that, it happens. On MacOS 10.12.6, with AppGameKit 2017.9.25

This code shows the behaviour a bit better.
Conjured Entertainment
AGK Developer
18
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 8th Oct 2017 18:24 Edited at: 8th Oct 2017 18:32
Using Windows 7 and 2017.09.25 build...

Yeah, I thought it might be something in the font, but it happens even if you swap the two text strings in your example or use caps, so it is not the font..

Definitely placing the text too far left, but strange it doesn't do it the first time.

Coding things my way since 1981 -- Currently using AppGameKit V2 Tier 1
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 8th Oct 2017 19:35
your last full example was better,
it happens because this command UseNewDefaultFonts( 1 ) @paul
AGK (Steam) V2017.09.25 : Windows 10 Pro 64 Bit : AMD (17.9.3) Radeon R7 265 : Mac mini OS High Sierra (10.13)
Jambo B
14
Years of Service
User Offline
Joined: 17th Sep 2009
Location: The Pit
Posted: 8th Oct 2017 20:29
Thanks for all the replies. Using the old default fonts does correct the issue - but the new fonts are so much nicer!

@Paul - would you mind taking a look at this?

Thanks,

James
Kevin Cross
20
Years of Service
User Offline
Joined: 15th Nov 2003
Location: London, UK
Posted: 8th Oct 2017 22:30 Edited at: 8th Oct 2017 22:30
I can confirm the same happens on my Mac.

If you happen to look at it Paul would you mind looking at this EditBox problem too (well the thread as two problems but the last is a bigger issue): https://forum.thegamecreators.com/thread/220654
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 13th Oct 2017 14:10
Thanks, fixed for the next version

Login to post a reply

Server time is: 2024-04-19 07:58:29
Your offset time is: 2024-04-19 07:58:29