Harsh J

Memoirs of a QWERTY Keyboard

Archive for the ‘development’ tag

KDE 4.4 Desktop – An Early Preview

20 comments

KDE 4.4 is scheduled to be on your desktops in a few more months. This post details some of the new and changed things in it.

The Desktop

A lot of visual changes are present in the KDE Desktop. There are changes to Style, Behavior and the Plasma – the one which provides the desktop and widgets to boost your desktop experience.

KDE 4.4 Desktop

KDE 4.4 Desktop

Activities

Desktop activities, a concept introduced in KDE 4.2, has received a ton of improvements. An activity in KDE is simply as the word goes – a separate view for a specific behavior. You have probably used, or heard of the Virtual Desktop concept – in which one can manage their applications with separate views.

Extending that concept, an Activity is a separate view for your group of widgets. Right now you may notice that switching virtual desktops does not change the widgets available on the desktop – this task’s possible if you use Activities.

Folder View Activity

Folder View Activity

New features in Activity include Mouse Plug-ins, and two new types of Activities – Search & Launch and Newspaper.

Mouse Plug-ins

This is a configuration area of any activity that, for now, allows you to configure (mouse) shortcuts for your desktop operations like switching activities, showing the context menu, switching tasks, etc..

Activities Mouse Plugin

Activities Mouse Plugin

New Activities

Ever since 4.2, there have been two types of activities in KDE, namely Folder View and Desktop (Default). The former shows the desktop area as a traditional one – with icons from a set folder, while the latter is an empty and clean one with only your added widgets. The two new activities – Search & Launch Containment and Newspaper Activity bring about some refreshing changes to the whole Activity concept.

New Activities

New Activities

Search and Launch Containment

This is an interesting activity that could replace your need for a panel. It essentially transforms your desktop area into a launcher. There’s a favorites area at the top, followed below by a runner-like search bar and then the Menu groups, which can be double-clicked to open and show all applications contained within. Navigation is simple and animated prettily and bookmarks/favorites can be added by clicking on the star that appears when you hover over an item/application.

Search and Launch Containment

Search and Launch Containment

Newspaper Activity

I haven’t found a use for this yet, but it seems to automatically align your widgets in a columnar fashion. It’ll be neater after a little more polish – maybe give you that grid aligning feature for widgets if you needed it. I’ll report more on this as the development progresses in the coming months till the 4.4 Final.

Newspaper Activities - Notice the scrollbar on the right.

Newspaper Activities - Notice the scrollbar on the right.


Style

In my opinion, the best attraction of the KDE 4 desktop is its Oxygen style. In 4.4, it will be cleaner, have more icons, new animations, fabulous new artwork, and some fine-tuning. You’ll love the amount of advanced customization and simple fine-tuning options Oxygen will give you in KDE 4.4.

Title-bars

The window borders have an improved style than before. The difference can be seen in the screen-shots below as artwork is hard to explain with words. Let’s just say it feels more liquid, and is much more responsive to press actions. Not a change that’d make you care about, but its pleasing and refreshing nevertheless.

KDE 4.3 Title-bars

KDE 4.3 - Old Title-bars

New Title-bars

KDE 4.4 - New Title-bars

Window Borders

Borders are all gone. The Oxygen style does not apply any window borders anymore and instead has added inner and outer glows, which are configurable (colors, spread size, etc.) in System Settings – Appearance. Also changed, are the neat drop shadows, whose colors can also be customized. Once this kicks in, it feels easier to work with non-maximized windows.

Animations

A lot of animations have been added to the Oxygen style and what I’ve noticed is that a fade effect is applied to every kind of change in the UI. That means you’ll see smoother label transitions, fading effects while you switch from a tab to another, fading selectors as you scroll through the options in a context menu, and etc.. These also apply to the hovering effects, like the glow that appears when you hover on a tab. At first the thought of irritation in seeing these animations popped into my head but as good as the Oxygen-Project guys are, the default rates of the animations are well above that barrier although not configurable.

Progress-bars also have animations now and a progress, like from 30% to 50% is done with smoother, running progressions than abrupt and instant ones. This change is very welcome by me; I could do with some fancy feedback stuff while an application makes me wait. Using progress-bars must also adhere to certain standards and not be like how most applications on Windows are.

Since I can’t show the new animations with mere screen-shots, here’s a video to watch – by the developer himself.

You need to a flashplayer enabled browser to view this YouTube video

Plasma

Under Plasma, there are too many changes and improvements to count. Its perhaps the most concentrated-upon part of KDE. I’ve listed some easily-visible changes like the new Widget Chooser, Remote Widgets, System Tray and the Device Notifier.

Widget Chooser

The classic Add Widgets… dialog has been replaced with a more wider, flashier chooser. Currently, it does not support removing widgets like the former dialog does, and in behavior and style it is pretty similar to the Search and Launch Containment, which I mentioned earlier. It’s still pretty handy, as it makes listing and scrolling through categories and the widgets under each much easier than when done vertically. What I might be missing is an easier way to see the full name and descriptions of each widget, which was easily displayed in the earlier dialog.

Widget Chooser

Remote Widgets

A concept I could not try out, since I have only one terminal. It seemingly lets you share any widget over the network and allows you, or others to use it remotely. Every widget can be asked to enable sharing, and the configuration dialog has a privacy option for it as well.

Remote Widget Policies

Remote Widget Policies

System Tray

The System Tray has improved in many ways. Firstly, the Auto Hide feature has gotten way better than the selective thing it was before. It now supports, for each of the registered items, three modes – Hidden, Auto and Always Show. Auto probably hides it after a certain amount of time or inactivity. Second, there’s a new feature that lets you add your widgets to the tray, or at least some of them. This is useful, from what I could make out, if you’d like to hide some of your panel widgets from showing all the time.

Auto-hide System Tray Apps with more control

Auto-hide System Tray Apps with more control

Plasma Widgets in System Tray

Plasma Widgets in System Tray

Device Notifier

The device notifier widget in KDE has received a good amount of new features – called Actions. Its similar to how Windows shows a dialog when you insert a device. Appropriate actions can now be added via System Settings – Advanced – Device Actions and they will show up for each type of devices as you configured. Actions can then be seen while or after mounting the device. There is also an auto-mount configuration coming in KDE 4.4, but that’s a different thing for a different article.

Device Actions Configuration

Device Actions Configuration

Device Notifier with Actions

Device Notifier with Actions


That’s it, under Desktop!

More articles with screen-shots regarding enhancements in File and Window Management, new Application Features under various KDE extensions coming soon. Mostly by the Beta 1 KDE 4.4 release, which is at the beginning of December 2009.

There are also enhancements made for Netbook users but that’s beyond my scope of interest at this point – since I don’t own one.

Oh, and did I mention the amount of bugs fixed? Tons! :)

Written by Harsh

November 18th, 2009 at 5:56 am

Color Hot-Tracking in Smooth Tasks Plasmoid

3 comments

Polishing your K Desktop never seems to stop. First its the Desktop appearances, the plethora of widgets available to choose and use from for the desktop and the taskbar, the hilighting schemes in Kate/KWrite, it keeps going on. Maybe a bad thing – you never settle.

I was trying out the kde-extragear-plasmoids AUR package yesterday on my ArchLinux’s plain KDE installation and I came across this wonderful plasmoid known as Smooth Tasks. While nothing innovative in itself, its a simple plasmoid that apes the Windows 7 taskbar. Provides icon views of the applications running and allows peeking into them when hovered upon, and if grouped – lets you switch using the previews. I’ll leave the screenshots to do the rest of explanation.

What I liked most about Windows 7 is its ability to color the hover-glow on the icons in the taskbar based on the average computed color of the icon itself. This feature, as explained by Long Zheng, “delivers some sentimental value by making it easy to identify applications by color.” I completely agree with that point. However, Smooth Tasks missed this feature, and the built in light feature didn’t move entirely with the mouse pointer as well.

I cloned the code today to add, at least an initial working version, the color hot-tracking to Smooth Tasks and it was done by the afternoon. I’ve pushed the changes to the Smooth Tasks fork over at Bitbucket (which is a great site, by the way) and the image below describes how the initial work looks like. Notice the soft color glow. Here are some more pictures, with other icons.

Color Hot-tracking in Smooth Tasks on KDE

Color Hot-tracking in Smooth Tasks on KDE

Now all I’ve to figure out is a way to enhance the glow or another component of the effect to give it a more polished look. Windows 7 also colors the border of the taskbar item with the average color but that’s not possible with the way the KDE’s glow around items work, as far as I know. Please let me know if am wrong.

You need to a flashplayer enabled browser to view this YouTube video

Written by Harsh

October 10th, 2009 at 1:25 pm

Open Source Games

one comment

I’m sure there has been a lot of incidents where you have cursed your most recently acquired game, be it anything from a silly to annoying bug, the lack of a feature that would have made playing more heavenly for you or even something as small as better detail on some object on screen.

Now what if the game were open source, to the fullest extent rather than just the “Extend”. You don’t like the character’s tail, you contribute an idea in form of a feature-request or by getting into the development yourself. So do million others. Together you can, over time, form a completely different game than the one you were being unsatisfied with!

Yo Frankie! - An open source game in active development.

Yo Frankie! - An open source game in active development.

The usual way of extending a game would be to add in map and skin packs while letting the functionality of the entire game remain constant. What if the game evolves with time, adding in new moves, more pick-ups and extras, and more elements to the game, such as weapons or collectibles?

Though these are present in some of the games alive today, it would be greater if the game were or went open-source, opening the game’s code to a world of never-before imagined possibilities and also getting in tons of optimization over time. Of course, building a game big enough like the heavyweights we have today requires the work of a large active team behind it, but once done with its release, getting in additions to the code would we amazingly easy were it supported by a good version-tracking system!

Playing such a game would mean endless hours of fun, repeated every couple of months for a completely different experience while still remaining the old charms that a player liked. New innovative concepts implemented by avid code-enabled gamers would add in more and more goodies, much like how Compiz-Fusion is today, an idea being born a day and implemented almost as fast.

Yes there would be a point where it would hit a roadblock and this is where the next game development has to begin. Ideas found in the older version could be tried out across a multitude of other genres, and what a learning experience would it be for creating that “ultimate” game many always dreamed about!

I hope some biggie in gaming gets onto this OSS bandwagon, with atleast a half-baked title cracked open, and pretty soon, since the game market is losing out on ideas really, and thats cause ideas are limited to them in the closed confines they live in.

You’d say what of the OSS games we have today, and I’d point at their evergrowing success till date. No game has ever been given a cold shoulder and kicked out of existence, right from Nethack to Nezuiz. Though this post was inspired by a particular game known as Yo Frankie!.

Written by Harsh

July 17th, 2008 at 7:00 pm