elementary / elementary/code

If screen is locked with Code in focus, on unlock I can't select any text

Open
#1,707 2 comments 0 reactions 0 assignees View on GitHub
Status: Confirmed
Dominant language
Vala
Stars
521
Forks
118
Avg merge
1d 8h
Merged PRs (30d)
14

Description

### What Happened?

Double-tapping and dragging with the touchpad or pressing Shift+ArrowKeys moves the cursor around instead of selecting the text.

### Steps to Reproduce

1. Open code and start editing a file.
2. With Code still in focus, lock the screen — it should turn off.
3. Wake the screen and unlock your session. Code should be focused.
4. Try to select any text on the document you've opened.

To recover the functionality, switch focus to another app and return to Code (e.g. Alt+Tab).

### Expected Behavior

Text selection should work.

As far as I know, other apps that frequently contain text or forms (e.g. Firefox, Thunderbird) don't exhibit this problem.

### OS Version

8.x (Circe)

### OS Architecture

amd64 (on most hardwares)

### Session Type

Secure Session (Wayland, This is the default)

### Software Version

Latest release (I have run all updates)

### Log Output

```shell

```

### Hardware Info

- Dell Inspiron 15 3583 (laptop)
- Intel graphics

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.