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

Encoding broken in tabs' captions #1474

Closed
prokoudine opened this issue Jul 29, 2015 · 7 comments
Closed

Encoding broken in tabs' captions #1474

prokoudine opened this issue Jul 29, 2015 · 7 comments

Comments

@prokoudine
Copy link
Contributor

After some of the recent changes GC started rendering captions of tabs in the Activities section in broken codepage for the Russian locale. The translation file is fine, but names like translated versions of 'Ride', 'Details' et al. look like this:

2015-07-29 22-45-36

That's not Russian, that's Gibberish :)

Tested on commit 34a6ffc (most recent Git checkout at the moment).

@prokoudine
Copy link
Contributor Author

Additional note: every time I launch GC, the caption seems to grow. I would assume that for some reason GC tries to append the caption's text to the current caption at every launch.

@prokoudine
Copy link
Contributor Author

Another additional note: resetting the layout fixes this within current session, and you have to do it for each mode/layout separately. As soon as you relaunch the app, it all goes to hell again :)

@amtriathlon
Copy link
Member

Does this also happen using some of the recent official RC4 builds?

@MaksVasilev
Copy link
Contributor

I confirm this on current git snapshot (06.08.2015) 9ace9bd

Linux x86_64, Qt 4.8.6, Qwt 6.1.1

@prokoudine
Copy link
Contributor Author

I don't see this in the windows 64bit build of rc4, but I do see this on linux.

@MaksVasilev
Copy link
Contributor

This bug NOT present on Qt5 build. I'm rebuild and test it on same source with Qt 5.4.2: all ok!

@liversedge
Copy link
Member

I've changed the code to only translate when they are reset, not to try and reset every time they are loaded. See commit b93f3f8

Not sure why it would break though.

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

No branches or pull requests

4 participants