Lorenz Cuno Klopfenstein

OnTopReplica

I remember that since Windows 95 or so, I always wanted to find a way to watch a movie on my PC while coding, writing or doing some other work (keeping it "always on top"). Finally, with Vista and its "DWM Desktop Composition" I was able to create a simple application that does simply that: you can clone whatever window is on your screen and watch it in a small thumbnail that always keeps on top of all other windows (even if it hasn't mouse focus). So you can watch a movie while coding, like this:

spacer

In the picture above, VLC is playing a movie and is replicated by On Top Replica, which will stay on top even if Visual Studio takes the focus and actually covers up the real media player.

Of course you can use it for several other things as well: like keeping track of a large download or a slow installation (like Visual Studio...) while doing something useful, peeking at the current track in your media player, keeping a document on top as reference, or else...

spacer

How it works

spacer
Selecting the window to be thumbnailed.

After installation, you can launch the application through the Start Menu (the link is called "OnTopReplica"). By right-clicking on the empty window you'll get a list of windows you can clone, an opacity setting, the option to select a subregion of the original window and finally the option to reduce the application to the taskbar.

Cloning a window: simply select the window you wish to clone from the list and you're done! You will be able to move and resize (the replicated window will always try to match the original window's aspect ratio) the window, or select another window to clone in any moment.

Select region: clicking on "Select region" will open a small side bar, allowing you to select a subregion of the original window to clone (this is particularly useful in order to trim away unnecessary GUI elements from a video player). To do so, simply click on the thumbnail and drag the region. As soon as you release the left mouse button the region is updated on the panel. You may store regions you find useful for future use as well (just click on "Save").

spacer

When done, click on "Done" on the bottom right and the panel will disappear.

The opacity and resize options allow you to set the window's transparency and its size (based on preset ratios of the source window). Double-clicking on the window is a shortcut for switching to "fullscreen mode". You can also disable the "glass effect" in the opacity menu (this may also improve performance).

Note: remember that you should not minimize the window that is being cloned by OnTopReplica, because otherwise Windows will stop refreshing the thumbnail (that is, because the original window itself will not be repainted anymore). Keep the window open in the background and you'll be able to watch a movie while (pretending to be) working. spacer

Click-through fullscreen mode: this is a new feature in OnTopReplica 2.1 and allows you to switch a semi-opaque OnTopReplica session to fullscreen mode while still being able to click on windows underneath. The OnTopReplica window is thus acting like some king of overlay. To enable it, simply ensure that - before switching to fullscreen - the window is not completely opaque and that the "click-through" option is enabled in the "resize" menu. To get back from this mode, simply double-click on the OnTopReplica tray icon.

This mode can be very nice to watch movies in their full resolution instead of in a tiny window, but of course can also lead to pretty confusing visuals if you try to read and watch at the same time...

Click forwarding (added in OnTopReplica 2.5): this mode will try to forward all clicks done on the OnTopReplica thumbnail to the original window. This should allow you to have basic interactions with the cloned window, without having to activate it or switch it to foreground. At the moment, not all clicks are correctly forwarded (for instance, scrollbars generally don't work) but it should work fine in most cases. Both single and double left clicks are supported.

Chrome-less (added in OnTopReplica 2.6): will remove the standard window borders and leave only the clone of your window. Should be much less distracting for watching videos.

Languages

Since version 2.5, OnTopReplica has finally been internationalized and, right now, features three languages: english, italian and czech. If you'd like to translate OnTopReplica to another language, please send me an e-mail. spacer

Download

You can download the On Top Replica installer. Installation is as noninvasive as possible: it doesn't require user privileges elevation (UAC) and automatically extracts to a local user folder.

You need Windows Vista Home Premium or better (with activated “Aero”) and the .NET Framework 2.0.

If you have trouble installing or launching the application, try the executable file without installer. Please report bugs via mail or via comment (below).

Source Code

On Top Replica has been released under an Open Source licence. Check out the page on CodePlex.com to get the complete source code or the WindowsFormsAero library the application depends on.

If you have suggestions, comments or ideas for future versions, feel free to contact me using the comments below, my email on this site or the contact form on CodePlex.com.

Awards

Since July 2008, OnTopReplica has been featured on Softpedia.com and Download.com.

spacer spacer

Feedback

117 comments posted. Post something.

spacer
Giovanni Friday, August 22, 2008 7:49 PM

Good job! Keep up!

spacer
Peter Fine Wednesday, November 19, 2008 10:37 PM

This program is fantastic. I've tried several other options, but this is the only one that allows me to watch video without all the distractions of the rest of the website. Cheers!

spacer
Xechorizo Saturday, July 25, 2009 8:40 PM

Sweet app. I use it all the time. Props!

spacer
Xechorizo Saturday, July 25, 2009 8:52 PM

P.S. - Enable it to save and/or auto-load templates! drool

spacer
Aaron Eldridge Wednesday, September 30, 2009 11:08 PM

Hi I just found this app and it is almost perfect for what I was looking for. The problem is the click forwarding doesnt seam to work very well (or at all in my case).

Im mainly trying to have it display a section of a window from a windowed 3d game (eve online) and for example allow me to click/type into a chat window.

If this could be possible id be happy to pay for this app spacer

spacer
Peter Fine Thursday, October 01, 2009 11:19 PM

Hi,

A great feature would be to have a menu of the saved window regions appear when you hover over the window that you'd like to select, allowing you to chose the window and region in the same number of clicks it now takes just to choose the window.

Cheers again for a fantastic application.

spacer
Nic Stevens Wednesday, October 14, 2009 5:13 PM

Why not just use VLC's "Always on top" setting in minimal mode?

spacer
Lorenz Cuno Klopfenstein Thursday, October 15, 2009 10:21 AM

@Nic: yes, both VLC's and WMediaPlayer's "always on top" options work great for watching movies. OnTopReplica can clone pretty much every window or a subregion of it, so it also works for watching youtube videos, keeping an eye on a download, a build,... whatever you may find useful.

If you just want to watch a movie, VLC or WMP do it well on their own. spacer

spacer
Ricardo Wednesday, December 09, 2009 3:40 AM

Great app, but also, great page, great explanation, great examples, this is an amazing presentation of your program, so kudos to you for that as well, sir!

spacer
Anonymous Thursday, December 24, 2009 5:24 PM

You know. This is one of the small reasons reason why Linux is actually better than Windows on the desktop and why Windows market share is declining: This feature is built in. I can do this indiscriminately and without hacks or third party add-ons.

spacer
azharalibuttar Wednesday, January 27, 2010 8:57 AM

I love to use this software, being an IT specialist need to find something that doesn't mess with my other work.

spacer
Hiroe Saturday, February 27, 2010 6:27 AM

This has been a feature of most linux window managers for about a decade.

spacer
Name Friday, March 19, 2010 6:40 PM

How do you do this in Linux?

spacer
Yaro Kasear Friday, March 19, 2010 8:48 PM

@name - You always just right click on the title bar of a window in Linux and click always on top or something like that. It's built in to almost all Linux window managers. And it has been for a very very long time.

Another fun wm action Windows has never had an never will have is shading. Not.. LIGHT shading, but... sliding the window up into its titlebar so that pretty much the only thing you see is the titlebar. It's useful for looking behind a window without unfocusing it, or looking at the desktop without "shoiw desktop" or minimiozing everything. Other things Windows will never have is virtual desktops and many special window management functions related to it, and even minor stuff like scrolling with the mouse wheel even in unfocused windows or middle mouse button instant-copy-and-paste. (You select something, you go somewhere else, you middle click, VOILA, duplicated text. Windows doesn't even ATTEMPT to do this.)

Those are ALL things you'll NEVER get out of the box in Windows, and will usually get as really crappy third-party hacks written by people who use Linux by default.

spacer
Xechorizo Saturday, March 20, 2010 2:12 AM

If you have a decent mouse and simple knowledge of macros, middle-click copy/paste is easy. If you have a hard time managing your windows, the Alt-Tab in Windows 7 (and Vista I think) peeks through the other windows into the actively selected one.

This app is also for Windows... I'm not sure about the incessant need for native support for these features and the Linux fanboyism... Is there a shortage of Linux tools or message boards to comment on? It's like posting on a site about running shoes how horrible they are for snow, as snow functionality has been built into snowshoes for ages... Who cares if I want a snowshoe conversion for my running shoes? Everybody already uses and is familiar with running shoes. OnTopReplica is anything but crappy.

spacer
Anonymous Saturday, March 20, 2010 4:16 PM

Look at Xechorizo. Butthurt Windows user.

Guess what, Linux users don't need macros for middle click pasting. Alt tab is nice but it doesn't unclutter your desktop or help you manage windows that much no matter what bells and whistles Aero puts on it.

Speaking of Aero. Aero is an incredibly bland compositor compared to things like Compiz. Microsoft can't even deliver on things like desktop effects compared to Linux Lets see... Aero gives you 6 total effects, none of which you can really configure, and it takes at least a gig and a half for Windows to even let you turn it on, let alone get a decent frame rate.

Compiz, in the meantime, has over 96 plugins, every one of which lets you change it every which way, including changing the key bindings for each one, and still manages to run comfortably even on as low as 256 MiB RAM.

Which brings us to ANOTHER thing Linux beats the crap out of Windows on: Efficiency. Windows is, quite simply, PURE BLOAT. Despite Windows utterly lacking in features and usability compared to Linux. Windows still manages to install as 12 GiB. MINIMUM. No extras whatsoever or any of your applications installed.

Now, lets compare that to Linux, WITH extras and all the apps you wanna use. 5 GiB. That's IF you use a lot of apps and a GARGANTUAN desktop environment like GNOME or KDE. 5 GiB! Windows has no excuse for the bloat, but Microsoft will sure as hell try!

There is no need for native support. But we are pointing out why it;s so funny how Windows takes over the desktop while lacking anything actually useful in the "desktop" department. Stuff Linux users get out of the box you have to hunt down shitty third party programs, hacks, and patches in Windows.

Oh, and don't get me started on how Linux always gets hardware support sooner than Windows. USB 2 AND 3, x86_64, Itanium, you name it.

If you are hoping to deflect comparisons between Linux and Windows that show Linux to be exactly how it is: Superior to Windows in every way, you're going to have to come armed with more than calling anyone who demonstrate's Linux's superiority a fanboy. And pointing out what market share Windows has doesn't prove Windows is a better desktop option. It just proves what was already found in court: That Microsoft STOLE market share from much more honest, and dare I say more COMPETENT, software companies. Popularity does not a quality system make. Quantity != Quality.

spacer
Carlos Faria Saturday, March 20, 2010 10:34 PM

Não funcionou no meu windows-7. Queria uma solução.

Obrigado!

spacer
Xechorizo Sunday, March 21, 2010 3:01 AM

Assuming superiority is an awfully closed-minded statement. Ad hominem remarks are cute and all, fangirl, but I prefer an actual software selection and something that can run a game apart from a shitty emulator. Unless you're running an OS on a toaster, 12 gigabytes of disk space and a few gigs of RAM isn't exactly short on supply... assuming you don't live in a third-world country. Either way, this comment section isn't for petty internet arguments.

However, out of courtesy to Lorenz, this is my last comment. Great utility - I use it every day with multiple monitors.

spacer
Hiroe Monday, March 22, 2010 5:09 PM

"actual software selection"

Your software selection is, and keep in mind this is all personal opinion, very week when compared to the built in functionality of linux and unix in general. One wonderful example of this is drivers. If you want to access a piece of hardware that's on another linux computer (let's say the mouse) all you need to do is share the file that means mouse over ssh to the other computer. now you have hardware level access to the mouse. On windows such a feat is all but imposable and the tools to do it are definatly not default on most systems.

As for games it's true not all games will work out of the box on linux but if you're willing to put it the time you can get almost perfect compatibility by replacing the built in dlls with windows native (and probably illegal) dlls.

Out of the box I can play all source games perfectly.

I am wondering exactly what this comment section is for if not debate however. are we simply to mindlessly praise the author? I think that if you can create such a tool praise from random internet commenter will be quite hollow, it's probably better to have discussions and debates.

This tool is anything but crappy, it adds useful functionality to a very limited OS, however it does make me sad when skilled developers replicate work other people have done, especially when they are adding value to a product someone else makes money off of without getting paid. especially when I think the product hurts the entire tech industry.

spacer
Name Monday, March 22, 2010 8:18 PM

@Yaro, OnTopReplica isn't to keep windows on top.

How do you clone windows in Linux?

spacer
Hiroe Tuesday, March 23, 2010 4:43 AM

@Name

it is to keep windows on top, the fact that it clones it is just a hack to get around the limitations of windows. If for some reason you wanted to get 2 copies of the same window on one desktop (I have no idea why) the only way to do it is by using a remote desktop viewer like vnc. keep in mind that it can view single windows and if you disable compression is as good as the original and slightly less resource intensive then rendering a new window from scratch.

so how would I do it? install a vnc server (in ubuntu, system, preferences, enable remote desktop viewing) then go to a terminal and type "vnc localhost -appshare {the sid of the app you want cloned}" then enter your password.

spacer
Lorenz Cuno Klopfenstein Tuesday, March 23, 2010 2:39 PM

Listen people, I don't care about the whole "my OS is better than yours" debate. Let's keep this comment thread about OnTopReplica: I use Linux and Mac OS, I know there are other options to do what OnTopReplica does (more or less), I don't care.

Next evangelic/fanboyish comments will be deleted.

Thank you Xechorizo for the kind words. spacer

spacer
Alex Friday, May 28, 2010 8:23 PM

Wow. Took me a while but I finally found an alternative to Video-in-Picture. Your app is great. Does exactly what I needed.

One more app for my arsenal. Thank you.

spacer
ASR Sunday, May 30, 2010 1:42 AM

Super! Just what I was looking for! One issue to solve: it stops working (freezes) when the selected window is minimized. I don't know if that's a Vista DWM limitation or OnTopReplica's one though.

spacer
mcy Monday, May 31, 2010 2:04 AM

Finally I found a software that could help me watch some video while I'm working ;p If you could add a shortcut key to hide and restore it would be great!!! Thanks Lorenz... spacer This really rockz...

spacer
Lorenz Cuno Klopfenstein Monday, May 31, 2010 2:04 PM

@ASR: yes, this is because Windows stops repainting a window once it is minimized (for performance reasons). Therefore the cloned thumbnail freezes as well. Applications like Windows Media Player which render to an offscreen window continue to update as usual when minimized, but this requires extra effort by who makes the app.

@mcy: good idea, just like the "boss key" that was included in old games! spacer I've uploaded a small update (2.9.4) right now that registers a global hot key (Ctrl+Alt+O) that hides/shows OnTopReplica. Should work, let me know.

spacer
Alex Monday, May 31, 2010 8:22 PM

Could it be possible for the app to maximize the window if you accidentally minimize it?. To force the monitored window to always be maximized.

spacer
mcy Tuesday, June 01, 2010 3:58 AM

I'd just updated to 2.9.4, but the short-cut key doesn't work... would it be my com problem??

spacer
Name Tuesday, June 01, 2010 4:03 AM

How do I stop the notifications?! spacer

spacer
Lorenz Cuno Klopfenstein Tuesday, June 01, 2010 11:53 AM

@mcy: my mistake, the hot key is Ctrl+Shift+O!

@Alex: that would be pretty invasive I think. I've been trying to find a way to force an app to repaint even when minimized, but nothing seems to work for now...

spacer
mcy Wednesday, June 02, 2010 1:42 AM

MIGHTY LORENZ!!!! Thanks!! It works perfectly... and now I can play hide and seek with this app spacer

spacer
mcy Wednesday, June 02, 2010 1:43 AM

By the way, it would works in Window 7 also right???

spacer
Lorenz Cuno Klopfenstein Wednesday, June 02, 2010 10:11 PM

Great. spacer Yes, it works in Windows 7, however I didn't have enough time yet to integrate it with the new features, like the taskbar. That will be something for version 3.0...

spacer
mcy Thursday, June 03, 2010 12:42 AM

Can't wait!!! this software will be in my new lappy soon!!! Thanks for your time for this software spacer

spacer
Sean Wednesday, June 16, 2010 9:31 PM

I love this app! I've been looking for something like this for years! (Thanks to DownloadSquad for the mention.)

spacer
asdfdsa Thursday, June 17, 2010 1:50 AM

love the program! nothing like DWM-based eye candy. it's so resource conservative... (I know you can never seem to have enough, but i will suggest/ask nonetheless) Can you add the interface that when one left clicks on the ontopreplica window without click forwarding turned on, the focus shifts to the window being replicated?

spacer
Will Thursday, June 17, 2010 4:10 PM

Thanks for the great program! I just started using it for watching some video podcasts while working. Any chance on getting the ability to have more than one active preview? I'm also checking out www.ntwind.com/software/sticky-previews.html (payware) and the one thing I really like about it is the ability to have more than one preview going.

spacer
Andrea Friday, June 18, 2010 4:36 AM

Sad to say it will not install correctly for me (on Vista Home Premium). I keep getting the following error message:

[Window Title] Microsoft Windows

[Main Instruction] OnTopReplica has stopped working

[Content] A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.

Have I missed something in terms of installation instructions? Thanks.

spacer
Spazz Friday, June 18, 2010 5:32 AM

Can I just say that it would be great if people could just stick to the subject in hand.

Lorenz, I would like to try your utility, it sounds quite cool. I have collected a few such utilities when rolling out Windows 7 at my workplace. All very functional to make things easier for the users, and I think this one will help, especially with referencing documents.

Lorenz, I'll let you know how it goes.

spacer
Rajiv Friday, June 18, 2010 7:03 AM

A few suggestion:

Allow clickthrough support to semi transparent "non full screen" windows.

Remember replicated windows (save session) together with dimension, placement, region etc. and restore them whenever needed.

spacer
Clueless Newbie Saturday, June 19, 2010 6:09 AM

Can it be made to work on XP?

spacer
Ross Presser Saturday, June 19, 2010 4:50 PM

I'd like to report that my copy of Windows 7 Ultimate x64 also fails to run OnTopReplica. Same symptoms as Andrea above. Maybe it's a 64-bit problem?

spacer
Will Saturday, June 19, 2010 4:53 PM

It's running flawlessly here on Win7 Ult x64. Although I have UAC disabled.

spacer
Lorenz Cuno Klopfenstein Saturday, June 19, 2010 5:04 PM

@asdfdsa: you can switch to the window being replicated by right clicking on OnTopReplica and clicking on "Switch to window".

@Will: nice, didn't know about Sticky Previews. Could be used for some inspiration... spacer (zooming via mouse wheel was enabled in some older version, but it never worked correctly, perhaps I'll be able to fix it in the future).

@Andrea, Ross Presser: it works fine on 64-bit and UAC shouldn't be an issue I think. I pushed an updated version (2.9.5) today: it should now write a dump file to your desktop when it crashes. Please send it to me via e-mail and I'

gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.