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 | Post Text | Post File | Prev | Next ]

STR #3001

Application:FLTK Library
Status:5 - New
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-current
Created By:andreldm
Assigned To:Unassigned
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

Post File ]
Name/Time/Date Filename/Size top right image
 
#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
 
bottom left image   bottom right image

Trouble Report Comments:

Post Text ]
Name/Time/Date Text top right image
 
#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.  
bottom left image   bottom right image

Return to Bugs & Features | Post Text | Post File ]

 
 

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