nextcloud / nextcloud/text

Translate modal: Cannot select source language unless source text is clicked

Open
#5,128 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug feature: integration
Dominant language
JavaScript
Stars
659
Forks
133
Avg merge
1d 20h
Merged PRs (30d)
110

Description

Describe the bug

The source language dropdown is disabled by default. Only when clicking the source text field the dropdown menu becomes active.

Related: https://github.com/nextcloud/text/issues/5127

Steps To Reproduce:

  1. Write some longer text
  2. Click on ... -> Translate
  3. Try clicking on "Detect language"

Actual behaviour

The dropdown is disabled.

Expected behavior

The dropdown menu to select the source language should be active.

Screenshots

Note the mouse cursor in the screenshot, showing the disabled sign (in KDE Plasma's cursor style).

image

Server details:

  • Nextcloud version: 28.0.0.11
  • PHP Version: 8.1
  • Database: MariaDB

Client details:

  • OS: Ubuntu 23.10
  • Browser: Firefox 120.0.1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in the Translate modal using the listed steps, then inspect the modal's source-language dropdown behavior and its relationship to the source text field. Done means “Detect language” and the source-language selector are active immediately when the modal opens, without clicking the source text first.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.