FLTK logo

STR #3001

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Bugs & Features | Roadmap 1.3 | SVN ⇄ GIT ]

STR #3001

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:3 - Moderate, e.g. unable to compile the software
Scope:2 - Specific to an operating system
Subsystem:X11
Summary:Flickering while resizing
Version:1.3.2
Created By:andreldm
Assigned To:AlbrechtS
Fix Version:1.4.0
Fix Commit:84cf24948245d893cde9b3ef8c9eee614191de80
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:


Name/Time/Date Filename/Size  
 
#1 greg.ercolano
18:21 Feb 06, 2017
problem_demo.cxx
1k
 
 
#2 12oclocker
19:11 Feb 08, 2017
glitch2.png
183k
 
 
#3 12oclocker
19:11 Feb 08, 2017
normal.png
7k
 
 
#4 12oclocker
19:11 Feb 08, 2017
glitch1.png
178k
 
     

Trouble Report Comments:


Name/Time/Date Text  
 
#1 andreldm
21:39 Oct 29, 2013
While resizing a Double-Buffered Window which contains a png image(with alpha), the whole window flickers.
I noticed that it only occurs with some Window Managers in Linux: Xfwm and Openbox.
This forum thread explains the issue in details:
https://groups.google.com/forum/#!topic/fltkgeneral/m5rO3QkAYo4
 
 
#2 greg.ercolano
18:21 Feb 06, 2017
"Brooks" sent me the following info via email, unable to post it
due to ISP issues:

"""
    I have confirmed [the flicker problem] extends beyond the
    report listed here [in Comment #1 of STR#3001].
"""

..and includes the attached problem_demo.cxx code,
which has notes in the comments alluding to the suspect issue.
Paraphrasing those comments here:

~~~
    Altering the Fl::visual() seems to not affect the flicker issue.
    e.g. FL_DOUBLE|FL_RGB vs. FL_DOUBLE|FL_INDEX.

    The flicker seems to be caused by something happening
    when "plastic" or "gtk+" schemes are enabled.
    This happens on BusenLabs Linux (openbox window manager)
    Compiled a test app using standard libgtk2.0-dev for GUI
    and no flicker.
~~~
 
 
#3 12oclocker
19:18 Feb 08, 2017
More Info...
Resize not only flickers, but glitches, with random/corrupt visuals on the window during resize. (glitch1.png and glitch2.png happen during resize and normal.png is when resize is completed)

Hardware is...
BunsenLabs Linux with OpenBox window manager
Nvidia/AMD Mobility Radeon HD 4225/4250

Some Progress...
I recompiled the FLTK source code and I disabled XDBE
--disable-xdbe
This eliminates the Flicker and Glitches.
I thought I read that XDBE being enabled fixes issues on other systems,
if so this is not a good solution, only a fix for one particular system.
 
 
#4 matt
06:51 Feb 02, 2019
This does not occur on MacOS. I'd say that this is specific to x11 or even a specific window manager on X11.  
 
#5 AlbrechtS
07:27 Mar 24, 2024
Fixed in Git repository.

FTR: the OP wrote:
> I recompiled the FLTK source code and I disabled XDBE
> This eliminates the Flicker and Glitches.

This issue has been fixed in FLTK 1.4.0 because unreliable Xdbe support has been removed entirely (Nov 26, 2021).

See git commit 84cf24948245d893cde9b3ef8c9eee614191de80
 
     

Return to Bugs & Features ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.