On 09.09.2009 17:06, Steve Borho wrote: > On Wed, Sep 9, 2009 at 9:50 AM, Yuki KODAMA<endflow....@gmail.com> wrote: >> On Wed, Sep 9, 2009 at 18:22, Adrian Buehlmann<adr...@cadifra.com> wrote: >>> Would it be possible to instead directly pop up that log >>> window in response to the user doing "unapply last" in case >>> of an error? >> Yep, it is in my TODO list. I know that mostly users will open "command log" >> window when the operation failed. >> My idea for this: when the error occurred, >> * the icon of log button will change to error mark >> * the last line of error message will show in progress bar (if possible) >> ** -> I hope it's in red color and bold >> * the error message will show with tooltip of progress bar (or log button) >> ** -> you can check error message with just hovering to progress bar >> >>> Or could the unapply and apply buttons be disabled if there >>> are local changes? >>> >>> Or write a "+" character behind the name of the >>> top applied patch, if there are local changes. >> I'll do this idea. It's also in my TODO. >> >>> Other idea: provide a small "status bar" at the bottom of >>> the MQWidget and write there the text "local changes" if >>> there are local changes. > > repo.status() can be expensive, as we often re-discover. So this will > have to be taken into account.
Good point. So the user has to try and fail unapply. Please then bring a pop-up window with the error. Having to click some icon to see the error is not ok. Also, just writing an error message in the status bar (or progress bar) is not enough. The standard way of notifying the user of a failed operation is a pop up window. At least on Windows. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Tortoisehg-develop mailing list Tortoisehg-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop