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

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

[Octave-bug-tracker] [bug #58844] Unintended binary content copied into


From: Hg200
Subject: [Octave-bug-tracker] [bug #58844] Unintended binary content copied into clipboard
Date: Tue, 28 Jul 2020 15:59:28 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

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

                 Summary: Unintended binary content copied into clipboard
                 Project: GNU Octave
            Submitted by: hg200
            Submitted on: Tue 28 Jul 2020 07:59:25 PM UTC
                Category: GUI
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error
                  Status: None
             Assigned to: None
         Originator Name: hg200
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Hello,

during the MXE-Octave on Windows 7 tests i came across the following two
observations. The first issue is that some extra "binary" content can be
unintentionally copied into the clipboard and the second issue that Octave can
crashes if that content is pasted into the Octave's Editor.

- The problem appears only on MXE Windows. Not on Linux.
- I'm on the development branch of Octave.
- I haven't tested on stable (so far).

In order to reproduce it is necessary to repeat the steps as follows:

1.)
Start octave --gui with it's "default" settings (i.e. no .config file). The
command window is then docked.

2.)
On the command window put the cursor to the position at bottom right and start
marking the text. For reference see attached "01_copy.png"

3.)
Move the mouse cursor to the position on the top left as shown in
"01_copy.png". Then release the touchpad button / mouse button. Text remains
marked. Note: It is important to set the cursor "outside" the command-area,
somewhat above and to the left of the word "GNU". Otherwise you will not see
the issue. The amount of binary content copied to the clippboard seems to
depend on the cursor-position.

4.)
Press Ctrl-c to copy the selection.

5.)
Move to notepad (external editor) or switch to the Octave Editor Tab and paste
the clipboard content with Ctrl-V

6.)
Result can be seen in the picture "02_paste.png". If the step is repeated more
often Octave can crash as the contend is pasted into the editor
("03_crash.png"). When pasted to notepad you can also see the unwanted
content. So it is copy / clipboard problem.

The problem is: I tried again to reproduce the crash with gdb but with the
current executable i can't force the crash. Have to try later again. Sorry
;-(






    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 28 Jul 2020 07:59:25 PM UTC  Name: stepstoreproduce.tar  Size:
120KiB   By: hg200

<http://savannah.gnu.org/bugs/download.php?file_id=49561>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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