In WebIDE, when entering ê in a mardown file, it is duplicated in the text area (display êê)
Summary
When entering the ê
letter in a markdown file from the WebIDE, the letter is entered twice. This happens both while using the corresponding key sequence with a french keyboard layout (I've tested both with bépo and azerty) and by using the utf-8 code directly (\u00EA
).
It does not reproduce by copy-pasting the ê
from another source.
It does not reproduce in the text area of the New issue
page.
Steps to reproduce
- go to webIDE
- create a new markdown file
- enter a "ê", either by using the key sequence to enter the utf-8 code (
\u00EA
) or with a french layout with the key sequence^
+e
(does not work with a qwerty).
Example Project
I reproduce on every project I tested on, but in particular, it is reproducible on https://gitlab.com/autra/gitlab-ce.
(If possible, please create an example project here on GitLab.com that exhibits the problematic behaviour, and link to it here in the bug report)
(If you are using an older version of GitLab, this will also determine whether the bug has been fixed in a more recent version)
What is the current bug behavior?
the text area shows êê
.
What is the expected correct behavior?
the text area shows a single ê
.
Output of checks
This bug happens on GitLab.com.
I reproduce on Firefox 65 on Ubuntu 16.04, both on GitLab.com and on my company instance (currently running gitlab 11.7.3).
Results of GitLab environment info
Expand for output related to GitLab environment info
System information System: Current User: root Using RVM: no Ruby Version: 2.5.3p105 Gem Version: 2.7.6 Bundler Version:1.17.3 Rake Version: 12.3.2 Redis Version: 3.0.6 Git Version: 2.20.1 Sidekiq Version:5.2.3 Go Version: unknownGitLab information Version: 11.7.3 Revision: 3424476b Directory: /home/git/gitlab DB Adapter: postgresql URL: https://git..net HTTP Clone URL: https://git..net/some-group/some-project.git SSH Clone URL: ssh://git@git.****.net:10022/some-group/some-project.git Using LDAP: no Using Omniauth: no
GitLab Shell Version: 8.4.4 Repository storage paths:
- default: /home/git/data/repositories Hooks: /home/git/gitlab-shell/hooks Git: /usr/bin/git
Results of GitLab application Check
Expand for output related to the GitLab application check
Checking GitLab subtasks ...Checking GitLab Shell ...
GitLab Shell: ... GitLab Shell version >= 8.4.4 ? ... OK (8.4.4) Running /home/git/gitlab-shell/bin/check Check GitLab API access: OK Redis available via internal API: OK
Access to /home/git/.ssh/authorized_keys: OK gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Gitaly ...
Gitaly: ... default ... OK
Checking Gitaly ... Finished
Checking Sidekiq ...
Sidekiq: ... Running? ... yes Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking Incoming Email ...
Incoming Email: ... Checking Reply by email ...
IMAP server credentials are correct? ... yes Init.d configured correctly? ... yes MailRoom running? ... yes
Checking Reply by email ... Finished
Checking Incoming Email ... Finished
Checking LDAP ...
LDAP: ... LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab App ...
Git configured correctly? ... yes Database config exists? ... yes All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config up to date? ... yes Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory exists? ... yes Uploads directory has correct permissions? ... yes Uploads directory tmp has correct permissions? ... no Try fixing it: sudo chown -R git /home/git/data/uploads sudo find /home/git/data/uploads -type f -exec chmod 0644 {} ; sudo find /home/git/data/uploads -type d -not -path /home/git/data/uploads -exec chmod 0700 {} ; For more information see: doc/install/installation.md in section "GitLab" Please fix the error above and rerun the checks. Init script exists? ... yes Init script up-to-date? ... yes Projects have namespace: ... 5/1 ... yes 2/3 ... yes 5/4 ... yes 2/6 ... yes 2/8 ... yes 5/9 ... yes 5/10 ... yes 5/11 ... yes 5/12 ... yes 2/13 ... yes 5/14 ... yes 2/16 ... yes 5/17 ... yes 2/18 ... yes 5/19 ... yes 2/20 ... yes 2/21 ... yes 5/22 ... yes 5/23 ... yes 48/24 ... yes 2/25 ... yes 5/26 ... yes 2/27 ... yes 2/28 ... yes 2/29 ... yes 5/30 ... yes 5/31 ... yes 5/32 ... yes 5/33 ... yes 48/34 ... yes 5/35 ... yes 5/36 ... yes 48/37 ... yes 5/38 ... yes 2/39 ... yes 2/40 ... yes 2/41 ... yes 5/42 ... yes 2/43 ... yes 5/44 ... yes 4/45 ... yes 4/46 ... yes 47/47 ... yes 47/48 ... yes 47/49 ... yes 47/50 ... yes 47/51 ... yes 3/52 ... yes 48/53 ... yes 47/54 ... yes 5/55 ... yes 47/56 ... yes 5/57 ... yes 2/58 ... yes 2/59 ... yes 5/60 ... yes 48/62 ... yes 5/65 ... yes 5/66 ... yes 135/67 ... yes 5/68 ... yes 2/69 ... yes 2/70 ... yes 48/71 ... yes 2/72 ... yes 47/73 ... yes 47/74 ... yes 5/75 ... yes 5/76 ... yes 5/77 ... yes 5/78 ... yes 19/79 ... yes 5/80 ... yes 5/81 ... yes 14/82 ... yes 14/83 ... yes 14/84 ... yes 14/85 ... yes 5/86 ... yes 47/87 ... yes 5/88 ... yes 135/89 ... yes 5/90 ... yes 47/91 ... yes 47/92 ... yes 6/93 ... yes 5/94 ... yes 5/95 ... yes 5/97 ... yes 5/98 ... yes 5/99 ... yes 135/100 ... yes 5/102 ... yes 48/103 ... yes 47/104 ... yes 5/105 ... yes 6/107 ... yes 2/108 ... yes 2/109 ... yes 5/110 ... yes 47/111 ... yes 5/112 ... yes 135/113 ... yes 5/114 ... yes 5/115 ... yes 47/116 ... yes 5/117 ... yes 2/118 ... yes 47/119 ... yes 5/120 ... yes 5/121 ... yes 5/123 ... yes 2/124 ... yes 5/125 ... yes 2/127 ... yes 2/128 ... yes 2/129 ... yes 5/131 ... yes 48/132 ... yes 5/134 ... yes 170/135 ... yes 171/136 ... yes 5/137 ... yes 2/139 ... yes 48/140 ... yes 14/141 ... yes 5/142 ... yes 2/143 ... yes 171/144 ... yes 209/145 ... yes 2/146 ... yes 5/147 ... yes 47/148 ... yes 47/149 ... yes 200/150 ... yes 200/151 ... yes 2/152 ... yes 5/153 ... yes 135/154 ... yes 47/155 ... yes 5/156 ... yes 209/157 ... yes 209/158 ... yes 47/159 ... yes 5/160 ... yes 5/161 ... yes 2/162 ... yes 5/163 ... yes 170/164 ... yes 170/165 ... yes 200/166 ... yes 31/167 ... yes 47/168 ... yes 5/170 ... yes 5/171 ... yes 209/172 ... yes 5/173 ... yes 5/174 ... yes 170/175 ... yes 5/176 ... yes 47/178 ... yes 5/179 ... yes 5/180 ... yes 200/181 ... yes 47/182 ... yes 4/183 ... yes 2/184 ... yes 47/185 ... yes 47/186 ... yes 171/187 ... yes 6/188 ... yes 5/189 ... yes 171/190 ... yes 5/191 ... yes 5/192 ... yes 170/194 ... yes 5/195 ... yes 48/196 ... yes 209/198 ... yes 149/199 ... yes 200/200 ... yes 5/201 ... yes 5/202 ... yes 5/203 ... yes 5/204 ... yes 47/205 ... yes 31/208 ... yes 47/219 ... yes 270/224 ... yes 200/225 ... yes 5/227 ... yes 149/228 ... yes 14/229 ... yes 5/230 ... yes 209/231 ... yes 5/232 ... yes 129/234 ... yes 47/235 ... yes 252/236 ... yes 47/237 ... yes 5/238 ... yes 5/239 ... yes 5/240 ... yes 209/241 ... yes 47/242 ... yes 5/243 ... yes 300/244 ... yes 300/245 ... yes 47/246 ... yes 5/247 ... yes 310/248 ... yes 310/249 ... yes 5/250 ... yes 2/252 ... yes 5/253 ... yes 5/254 ... yes 171/255 ... yes 6/256 ... yes 2/257 ... yes 310/258 ... yes 5/259 ... yes 5/260 ... yes 47/261 ... yes 5/262 ... yes 168/263 ... yes 224/264 ... yes 5/265 ... yes 5/266 ... yes 149/267 ... yes 252/268 ... yes 2/269 ... yes 171/270 ... yes 209/271 ... yes 2/272 ... yes 47/273 ... yes 36/275 ... yes 47/276 ... yes 43/277 ... yes 2/280 ... yes 43/281 ... yes 129/282 ... yes 200/283 ... yes 5/284 ... yes 170/285 ... yes 5/286 ... yes 43/287 ... yes 200/288 ... yes 171/289 ... yes 5/290 ... yes 47/291 ... yes 209/292 ... yes 5/293 ... yes 47/294 ... yes 2/295 ... yes 129/296 ... yes 129/298 ... yes 5/299 ... yes 5/300 ... yes 5/301 ... yes 47/302 ... yes 5/303 ... yes 403/304 ... yes 129/305 ... yes 47/306 ... yes 2/307 ... yes 5/308 ... yes 129/309 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.3.5 ? ... yes (2.5.3) Git version >= 2.18.0 ? ... yes (2.20.1) Git user has default SSH configuration? ... yes Active users: ... 349
Checking GitLab App ... Finished
Checking GitLab subtasks ... Finished
(I know there is an error with tmp
permissions, but I think it's unrelated to the current issue).