bugGNU nano - Bugs: bug #51147, when resizing in the file browser,...

 
 

bug #51147: when resizing in the file browser, the file content flickers through

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Wed 31 May 2017 08:08:04 AM UTC  
 
Severity: 3 - NormalStatus: Fixed
Assigned to: Benno Schulenberg <bens>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 31 May 2017 10:51:28 AM UTC, comment #2:

The problem is not in the workaround for the VTE "bug". The problem is that total_refresh() does an edit_refresh() even when we are actually in the file browser.

Fixed in git, 59b0f81b.

(The code gets a but ugly. Maybe we should add a boolean 'inbrowser' to make things cleaner and more symmetrical with the help viewer.)

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Wed 31 May 2017 08:29:29 AM UTC, comment #1:

The offending commit is 0a18d891, an attempt to defeat a VTE bug reported in bug #49106.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Wed 31 May 2017 08:08:04 AM UTC, original submission:

To reproduce, run: 'src/nano --ignore NEWS', type ^R ^T, and then keep resizing the window by pulling one of its borders left and right. See how upon every resize event, the contents of the file are displayed for a twentieth of a second. Annoying.

Bug exists since nano-2.7.1. It worked fine from 2.4.3 to 2.7.0.

Beside the content flicker, also the bottombars flicker more, since 2.7.0 (where they flicker terribly). Until 2.6.3 these bars stayed quite stable while resizing.

Expected behavior: the file contents should never be visible while in the file browser. And ideally the bottom bars only flicker when their appearance actually changes.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.

 

(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 bens (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 logged-in users can vote.

     

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

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 26 Jun 2017 08:30:21 AM UTCbensOpen/ClosedOpen=>Closed
    Wed 31 May 2017 10:51:28 AM UTCbensStatusNone=>Fixed
    Wed 31 May 2017 08:29:29 AM UTCbensAssigned toNone=>bens
      Summarywhen resizing the window in the file browser, the file content flickers through=>when resizing in the file browser, the file content flickers through

    Back to the top


    Powered by Savane 3.1-cleanup1