RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account
Forums → Bugs →

Filer action window flickers

Subscribe to Filer action window flickers 4 posts, 2 voices

 
Mar 27, 2012 10:01pm
Avatar Jeff Doggett (257) 30 posts

Risc OS 5.18 Iyonix flashed.

If you start a filer action copy and then place another window over the filer action window, then the contents of that window flicker at the position that is over the filename of the filer action window below.

 
Apr 4, 2012 12:24pm
Avatar Rik Griffin (98) 232 posts

Have just tested this and I think you’re slightly wrong about the effects. It looks to me as though the area that is redrawn (of the top window) corresponds to the position of the Filer_Action window’s title bar.

I’m guessing this is to do with how the title bar update is implemented. Filer_Action calls the RISC_OSLib function win_settitle, which in turn calls Wimp_ForceRedraw.

I note that the nested wimp has a ForceRedraw extension available to specifically redraw a window’s title bar, might be worth seeing if this cures the flicker.

 
Apr 4, 2012 12:34pm
Avatar Rik Griffin (98) 232 posts

Here’s a quick fix, I’ll try and get time to add this to the latest source and check it in later.

Add this function to actionwind.c:


static void set_title(wimp_w handle, char *title) { wimp_winfo winfo; winfo.w = handle; if (_swix(Wimp_GetWindowInfo, _IN(1), ((unsigned int)&winfo) | 1) == NULL) { strcpy(winfo.info.title.indirecttext.buffer, title); } _swix(Wimp_ForceRedraw, _INR(0,2), handle, 0x4B534154, 3); }

And change all calls to

win_settitle()
in that file to
set_title()
.

Of course this depends on the nested wimp but I don’t think that’s a problem.

I’d just like to add that it took me 10 times as long to get this post to display properly on this forum as it took to actually write the code. Can’t we please have a sensible forum system, and maybe even a wiki that doesn’t require javascript to contribute? I’ve lost count of the number of times I’ve gone to add something to the wiki, only to realise I can’t edit it from a RISC OS machine.

 
Jul 13, 2012 11:12am
Avatar Rik Griffin (98) 232 posts

For the record, I’ve now committed this fix to the cvs.

Reply

To post replies, please first log in.

Forums → Bugs →

Search forums

Social

Follow us on and

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

Description

Bug discussions that aren’t covered by the bugs database.

Voices

  • Jeff Doggett (257)
  • Rik Griffin (98)

Options

  • Forums
  • Login
Site design © RISC OS Open Limited 2011 except where indicated
The RISC OS Open Beast theme is based on Beast's default layout

Valid XHTML 1.0  |  Valid CSS

Powered by Beast © 2006 Josh Goebel and Rick Olson
This site runs on Rails

Hosted by Arachsys