EFL: We Do It With Modals

Today was the day of modal windows. What are those, you ask? In layman’s terms, a modal window is a child window that blocks input on its parent until it closes, forcing the user to deal with it. E17, for quite some time, hasn’t had proper support for them. This wasn’t a problem until I added a modal window yesterday: the import config dialog.

At 8am sharp, Devilhorns and I saddled up our trusty gdb steeds and rode off into E_Border country — a scary place, in case you’ve never been. Our two-hour bug hunting session uncovered a number of modal window-related bugs, ranging from the modal property not being properly set to the modal parent being allowed to accept input. At one point, I was nearly killed by a herd of stampeding XWindow attributes; surely this would have been the result had it not been for the watchful eyes of Devilhorns, who tagged the beast when it was within striking distance.

 

Following lunch and some gentle prodding from our lord and savior, I rewrote pager live previews to use livethumb instead of deskpreview. Now it properly handles animated backgrounds without lots of checks and such. Hooray, hooray. I’d post screenshots of it, but they’d indistinguishable from the previous ones I posted, so you can just scroll back and check those out if you’re curious what I’m talking about.

Advertisements

About e-releasemanager

I'm employed by a top 5 electronics company. My current task is preparing Enlightenment releases.
This entry was posted in Uncategorized. Bookmark the permalink.

2 Responses to EFL: We Do It With Modals

  1. Just remember that modal dialogs are horrible and should be killed with fire. In most cases. Sometimes they are – of course – very important. Microsoft is a company that overuses them in absurdum.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s