Re: [DEV] Improve locking the screen and shutting down, introduce suspend/hibernate

Rob Caelers <[email protected]> Tue, 04 Mar 2014 00:01:13 +0100
Newsgroups gmane.comp.misc.workrave.user
Message-ID <[email protected]>
Hi,

> I am currently working on some fixes to my code that were mentioned
> by Ray. I have integrated the Lock option into the dropdown menu
> and am working on requiring the user to confirm the operation.

Great!

> I have tried making the dropdown menu have the same size as the
> buttons and failed to. This is probably a limitation of the theme.
> So I am sending two screenshots and am asking which version would
> You prefer.

I don't have a strong opinion. I think I like the second one slightly
better.

> I have seen in Git that You have implemented a frontend with Qt.
> What is the purpose of it? Are You going to drop the GTK+ one?

I am currently porting Workrave to OS X. I decided to use Qt5 instead
of Gtk because it integrates much better with OS X (and it's probably
easier to learn than Cocoa, the OS X native UI library).

I don't expect the Gtk version to disappear soon. Workrave contains
all kinds of tricks to work around focus/always-on-top issues on
Windows (thanks to Ray!). I don't want to introduce these
problems/instabilities again by switching to Qt5.

On the other hand: In my opinion, the Gtk/Gtkmm developers are not
taking cross-platform (OS X, Windows) development very seriously. Last
time I checked Gtk+3 didn't event have a native look and feel on
Windows/OS X (that's why Workrave still uses Gtk+2 on Windows). Gtkmm
doesn't even have official binaries for Gtkmm3 or for anything newer
than visual studio 2010... If this doesn't improve, a switch to Qt5
for Windows is probably unavoidable in the end.

But please, don't let this keep you from contributing to the Gtk+ version!

> When are You going to make a release? I am going to finish my work
> before.

Not planned yet. I'm probably going to release 1.10.4 soonish because
it has some Linux (unity/gnome) fixes. I can release a 1.10.5 after
that with your improvements. So no hurry.

Kind regards,
  Rob

PS: perhaps we should move this discussion to workrave-devel.

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk