bugGNU Octave - Bugs: bug #52840, GUI hangs on use of...

 
 

bug #52840: GUI hangs on use of uigetfile/uiputfile

Submitted by:  Rik <rik5>
Submitted on:  Tue 09 Jan 2018 12:21:05 AM UTC  
 
Category: GUISeverity: 5 - Blocker
Priority: 5 - NormalItem Group: Regression
Status: ConfirmedAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Thu 08 Mar 2018 08:58:11 PM UTC, comment #14:

Sure, next week is fine. It's pretty vanilla: Linux Mint 18.1 running KDE.

KDE has shown some weird issues with regard to Dockable widgets, and with respect to Key Accelerators in menus. But, there was also something that changed in Octave because the bisection definitely determined a single cset where the issue started.

Rik <rik5>
Project Administrator
Thu 08 Mar 2018 08:37:40 PM UTC, comment #13:

Rik: What is your system? I could try to duplicate it if I installed the same thing in a VM. Or maybe we can look at this next week?

John W. Eaton <jwe>
Project Administrator
Thu 08 Mar 2018 07:46:19 PM UTC, comment #12:

Yes, it is still an issue. This is test code I use:

This is with the latest tip from today (3/8/18)

Rik <rik5>
Project Administrator
Thu 08 Mar 2018 07:02:14 PM UTC, comment #11:

Rik: Is this problem still present for you? I am unable to duplicate, but I'm using gnome.

John W. Eaton <jwe>
Project Administrator
Thu 11 Jan 2018 08:06:56 PM UTC, comment #10:

@jwe: Any idea why refactoring signal handling would have created this bug for me? Is there something in _octave_link_ which explains this?

Rik <rik5>
Project Administrator
Tue 09 Jan 2018 09:01:19 PM UTC, comment #9:

@Torsten: Maybe you should open a new bug report about the problems in comment #6 and #7 so they don't get lost in this report.

Rik <rik5>
Project Administrator
Tue 09 Jan 2018 09:00:31 PM UTC, comment #8:

Well this is definitely real. I used 'hg bisect' to narrow it down to this changeset:

I'm changing the status back to Confirmed and adding jwe to the CC list.

Rik <rik5>
Project Administrator
Tue 09 Jan 2018 07:35:43 PM UTC, comment #7:

The issue in KDE (see comment #6) with the edit-file-prompt seems to be caused by the well knwon "&" that is inserted by KDE into the button text. The clicked button text is compared to "Create", which returns false since the new button string is "&Create" or something similar (but unknown). Most probably, this will affect other dialogs, too.

I see two general approaches here:

  1. We can manually insert a "&" in the button texts when calling a dialog resulting in exactly known strings for comparing the dialog's results after a button was clicked.
  2. Any "&" is removed from the clicked button text before it is returned by the dialog.
Torsten <ttl>
Project Member
Tue 09 Jan 2018 06:13:52 AM UTC, comment #6:

Works for me, too, on Ubuntu 16.04 Unity and KDE Oxygen.

However, as a weirdness on KDE, when new files are not created without prompting (editor settings), the file dialog is not opened at all and the file is not created.

Torsten <ttl>
Project Member
Tue 09 Jan 2018 01:28:24 AM UTC, comment #5:

Okay, it is clearly something related to my system. I don't know what it is trying to check but it is very real for me. Oh well, I just won't use that functionality. But this does work just fine with my self-compiled 4.2.1 so there has to be something going on.

Rik <rik5>
Project Administrator
Tue 09 Jan 2018 01:01:31 AM UTC, comment #4:

Works for me on Fedora 27 / gnome
HG ID for this build is "5a10409695b7"

Do not see any delays.

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Tue 09 Jan 2018 12:38:59 AM UTC, comment #3:

works for me on Ubuntu 16.04
hg id d6f06eeb8917

Doug Stewart <dastew>
Tue 09 Jan 2018 12:38:23 AM UTC, comment #2:

Turns out it eventually works but the timeout is super long. After that another call to the function seems to work normally.

Rik <rik5>
Project Administrator
Tue 09 Jan 2018 12:23:55 AM UTC, comment #1:

Clarification, it seems to be any of the uimenu routines such as uigetfile/uiputfile. Something simpler like warndlg() works.

Rik <rik5>
Project Administrator
Tue 09 Jan 2018 12:21:05 AM UTC, original submission:

This is a regression from 4.2.1 where this worked.

Start a new Octave GUI session

A Save dialog window appears to be created, but the interior is blank and there is a beachball-like icon indicating a wait. Eventually I just kill the process.

This happens to be with KDE and Oxygen widgets if that matters.

Rik <rik5>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by rik5
  • -unavailable- added by ttl (Posted a comment)
  • -unavailable- added by dasergatskov (Posted a comment)
  • -unavailable- added by dastew (Posted a comment)
  • -unavailable- added by rik5 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 11 Feb 2018 06:36:24 PM UTCrik5Severity3 - Normal=>5 - Blocker
    Tue 09 Jan 2018 09:00:31 PM UTCrik5StatusWorks For Me=>Confirmed
      Carbon-Copy-=>Added jwe
    Tue 09 Jan 2018 01:28:24 AM UTCrik5StatusNone=>Works For Me
    Tue 09 Jan 2018 12:23:55 AM UTCrik5SummaryGUI hangs on use of edit()=>GUI hangs on use of uigetfile/uiputfile

    Back to the top


    Powered by Savane 3.1-cleanup1