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

Too many & symbols in names of dictionary groups #847

Closed
embar- opened this issue Jun 1, 2017 · 12 comments
Closed

Too many & symbols in names of dictionary groups #847

embar- opened this issue Jun 1, 2017 · 12 comments

Comments

@embar-
Copy link
Contributor

embar- commented Jun 1, 2017

Somewhere between 1.5.0rc2.git.20161226T19173 and 1.5.0rc2+git.20170314T174738 GoldenDict started to add too many & symbols in dictionary groups. See attachment.

test.zip

@Abs62
Copy link
Member

Abs62 commented Jun 1, 2017

Can't reproduce. Where did the first "&" come from? I don't see it in the input field on your video.

@embar-
Copy link
Contributor Author

embar- commented Jun 1, 2017

I never entered & symbol. I just enter "Some name" as group name. After confirming name, I see m letter with underline in tab. I only close dialog and in list of groups I started to see "So&me name".

@Abs62
Copy link
Member

Abs62 commented Jun 1, 2017

Hm. GD never add ampersands to group names voluntarily.

@embar-
Copy link
Contributor Author

embar- commented Jun 2, 2017

I guess It adds ampersand for keyboard shortcut while displaying names in titles. But unintentionally somehow it remains permanent for name.

@Abs62
Copy link
Member

Abs62 commented Jun 2, 2017

GD don't add any shortcuts to tabs in groups dialog. GD even don't allow to add it manually, ampersands are considered as part of group name but not shortcut prefix.

@embar-
Copy link
Contributor Author

embar- commented Jun 2, 2017

Regarding openSUSE Linux builds, I can reproduce in
goldendict-1.5.0-rc2+git.20170316T210955 with Qt 5.6.1
goldendict-1.5.0-rc2+git.20170601T224956 with Qt 5.8.0
But I can NOT reproduce in
goldendict-1.5.0rc2.git.20161226T19173 with Qt 4.8.6
goldendict-1.5.dev-20170204.1 with Qt 4.8.6

Now I tested builds for Windows, these are not affected:
GoldenDict-1.5.0-RC2-85-g473cb2b_(QT_562) 2017-03-31
GoldenDict-1.5.0-RC2-85-g473cb2b_(QT_486) 2017-03-31

Maybe this bug related with Qt5 in Linux only?..

@Abs62
Copy link
Member

Abs62 commented Jun 2, 2017

I have tried now last git version under Ubuntu with Qt 5.4.2 - not reproduced.

@embar-
Copy link
Contributor Author

embar- commented Jun 4, 2017

For testing, please try https://susestudio.com/a/CttYWz/lietukas-42-1-multilingual (after login, you can download https://susestudio.com/a/CttYWz/lietukas-42-1-multilingual/download/iso to get ISO for using in real machine or in VirtualBox; you can also test via TestDrive in browser by licking https://susestudio.com/a/CttYWz/lietukas-42-1-multilingual/start_testdrive?version=42.1.23 (i.e. without downloading), but in this later case will not have access to internet)- here I can consistently reproduce by these steps:

  1. Start GolDendict
  2. Press F3
  3. Go to tab "Groups". You can see predefined groups. If you press "Rename group" button and simply press OK, it will add & for current group name. If you press OK for whole dialog, it will add & for every/each group name.

@pwliao
Copy link

pwliao commented Jul 26, 2017

Are you using KDE?
See
https://stackoverflow.com/questions/32688153/how-to-disable-automatic-mnemonics-in-a-qt-application-on-kde
https://bugs.kde.org/show_bug.cgi?id=337491

Try to add

[Development]
AutoCheckAccelerators=false

to ~/.config/kdeglobals

@embar-
Copy link
Contributor Author

embar- commented Jul 30, 2017

Yes, I use KDE Plasma 5.8 desktop and editing ~/.config/kdeglobals helped!

@Knusper
Copy link

Knusper commented Oct 27, 2019

As you can see, this bug has recently been fixed upstream in KDE. Users of older versions of KDE (such as e.g. in debian buster) need to apply the fix.

@xiaoyifang
Copy link
Contributor

can be closed as solved

@vedgy vedgy closed this as completed Apr 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants
@xiaoyifang @Abs62 @embar- @Knusper @vedgy @pwliao and others