mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 22:01:23 -06:00
[GH-ISSUE #71] Unable to change screen name in server settings until remove whole string (video inside) #57
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#57
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Ashark on GitHub (Jun 24, 2018).
Original GitHub issue: https://github.com/debauchee/barrier/issues/71
Operating Systems
Server: Arch Linux
Client: this is interface bug, so client does not matter
Barrier Version
2.1.0
Steps to reproduce bug
See video demonstration here: https://youtu.be/U2OYTUyRI1M
Workaround: you can highlight a whole string "Без названия", press Del and then you are able typing screen name
@walker0643 commented on GitHub (Jun 30, 2018):
This is a strange one. I don't see why locale would cause this??
@Ashark, thank you very much for taking the time to submit a video with this bug. It was very helpful :) I have a couple of questions for you to help narrow down the cause...
Do any other text boxes/input fields in Barrier or elsewhere on your system exhibit similar problems or is it just the one field?
Do you have to have your locale set to Russian to make this bug happen?
How did you install Barrier? From a package (which one?) or compiled from source?
Which version of Qt do you have installed?
Thanks!
@Ashark commented on GitHub (Jun 30, 2018):
I think this is because of this field has restriction. Because of hostname restrictions, I suggest it only allows latin characters. But because of this field is pre-filled with "Без названия", it do not let you to write further. Space is also restricted, but presented in case of russian locale.
I wated to test it with other languages so I changed directory to src/gui/res/lang/ and run
Then I got these strings (stripped source and translation tags):
Click to expand
gui_af-ZA.ts Unnamed gui_ar.ts Unnamed غير مسمى gui_bg-BG.ts Unnamed Безименен gui_ca-AD.ts Unnamed Sense nom gui_cs-CZ.ts Unnamed Nepojmenováno gui_cy.ts Unnamed Heb ei enwi gui_da.ts Unnamed Unavngivet gui_de.ts Unnamed Unbenannt gui_es.ts Unnamed Sin nombre gui_et-EE.ts Unnamed Nimetu gui_fi.ts Unnamed Nimetön gui_fr.ts Unnamed Sans nom gui_gl.ts Unnamed Sen nome gui_grk.ts Unnamed gui_he.ts Unnamed ללא שם gui_hi.ts Unnamed gui_hr-HR.ts Unnamed Neimenovan gui_hu-HU.ts Unnamed Névtelen gui_id.ts Unnamed Tanpa nama gui_is-IS.ts Unnamed gui_it.ts Unnamed Senza nome gui_ja-JP.ts Unnamed 名前なし gui_ko.ts Unnamed 이름없음 gui_lt.ts Unnamed gui_lv.ts Unnamed gui_mr.ts Unnamed gui_nl-NL.ts Unnamed Naamloos gui_no.ts Unnamed Uten navn gui_pes-IR.ts Unnamed بی نام gui_pl-PL.ts Unnamed Nienazwany gui_pt-BR.ts Unnamed Sem nome gui_pt-PT.ts Unnamed Sem nome gui_ro.ts Unnamed Anonim gui_ru.ts Unnamed Без названия gui_si.ts Unnamed නිර්නාමික gui_sk-SK.ts Unnamed gui_sl-SI.ts Unnamed gui_sq-AL.ts Unnamed Paemer gui_sr.ts Unnamed gui_sv.ts Unnamed Namnlös gui_th-TH.ts Unnamed ยังไม่มีชื่อ gui_tr-TR.ts Unnamed İsimsiz gui_uk.ts Unnamed Без назви gui_ur.ts Unnamed gui_vi.ts Unnamed gui_zh-CN.ts Unnamed 未命名 gui_zh-TW.ts Unnamed 未命名So now we need test this bug with any language which translates "Unnamed" with space and/or some special symbols. Do you know fast way how can I run application with specified language without need to logout? I tryed "LANG=de barrier", but it did not work.
I have installed barrier from aur, currently it is 2.1.1-2. According to system info, I have Qt version 5.11.0
@walker0643 commented on GitHub (Jun 30, 2018):
@Ashark - can you pull and try again with the patch? Thanks!
@Ashark commented on GitHub (Jun 30, 2018):
@walker0643 Yes, it is fixed, thank you! Now it is empty line in Russian.
Can you please answer this: Do you know fast way how can I run application with specified language without need to logout? [Here I mean qt applications]. I tryed "LANG=de barrier", but it did not work.
@walker0643 commented on GitHub (Jun 30, 2018):
Sorry, @Ashark, I do not. I have never set a non-english locale (nor would I know what to do with it if i did!). I'm glad we got your issue resolved and thank you for being patient.
@Ashark commented on GitHub (Jul 2, 2018):
@walker0643 I will just add this for information. I have found a way how to change barrier's language. In this project it is made using qt native way (ts files). Just go to menu Change Settings -> and in Language we can select needed from drop down list. Language changes immidiately, so you do not even need to restart application.