octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #58109] Editor: highlighted/selected text remo


From: anonymous
Subject: [Octave-bug-tracker] [bug #58109] Editor: highlighted/selected text removed on focus change
Date: Fri, 3 Apr 2020 12:23:45 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0

URL:
  <https://savannah.gnu.org/bugs/?58109>

                 Summary: Editor: highlighted/selected text removed on focus
change
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Fri 03 Apr 2020 04:23:43 PM UTC
                Category: GUI
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 5.2.0
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Hello all,

we're running Octave 5.2 (but this problem has occurred since 5.1) on
opensuse
Leap 15.1 with xfce 4.12. We tried reproducing on a plain window manager
(DWM),
but it's working fine there.

The problem we're encountering is text selections in the editor being deleted
when switching focus with other programs (e.g. Firefox).

# How to reproduce:

This is the most reliable way to reproduce.

0) open some other program (e.g. Firefox)
1) open octave-gui
2) write something in the editor
3) select some text
4) focus other program (alt+tab or click with mouse)
5) switch focus back to octave
6) see selections is gone
7) click undo to bring text back

We tried some more variants, but they don't produce the issue all the time.
First one is somehow "timing" dependent.

3) select some text
4) immediately switch focus
5) text disappears on octave losing focus

When you switch to another tab (like Documentation) before switching to
another
program, the issue doesn't seem to appear. But if you click the Editor tab to
regain focus, the selection is lost.

3) select some text
4) switch to Documentation tab
5) focus other program
6) switch focus back to octave by clicking the Editor tab
8) text removed

# Related reports:

This report is similar, but the problem occurred when switching between tabs
in
the editor itself (e.g. simultaneously opened files).

https://savannah.gnu.org/bugs/?func=detailitem&item_id=43214

Cheers





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58109>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]