How to add features to the toolbar of any window ? (right click on toolbar) - toolbar

I am a retired Linux user and I am now only working on Windows 10. There is a super simple feature that I used a lot on Linux "Stay on top".
I don't understand why, but it's never been a feature on Windows whereas it is super useful especially when you program.
I tried a bunch of software to do that but none are as convenient as right click on the top toolbar of Windows 10 and select "Stay on top".
Is there a way using a script or something else to do this on my own ? I think it should be easy but I'm lacking english keywords to find this.
https://i.imgur.com/iFw4iA1.png
This is the link to an image showing the menu where I want the option to be. (I can't directly post it here :'( )
Thank you for your help, I hope I've been clear enough.

Related

How to unfullscreen a window without notifying it?

I'm trying to enhance the gTile extension by allowing it to resize a fullscreen window to a tiled area of the screen. That's a pretty common thing to do when tiling and it's pretty handy since some windows will hide some chrome when in fullscreen mode. But I'm having the hardest time figuring out how to do that.
Searching the internet led me to this forum post which mentions EWMH and _NET_WM_FULLSCREEN. I've tried to find ways to access window manager hints but can't find anything bashing by head on Looking Glass or scanning through the docs. Is this kind of thing possible through a shell extension?
Meta.Window is likely what you are looking for:
https://gjs-docs.gnome.org/meta4~4_api/
Setting Window.decorated = false may be able to remove the title bar or perhaps getting the compositor object and changing it from there. However this will still keep the address and tab bars in chrome. You may need to find another method to signal chrome to hide those.
There is not really an easy way to do this, the thread you linked is in regards to VLC and modifying it's source code.

Keeping "chat" windows on a lateral

I use awesome for quite a while at home, but when setting it up at work I'm facing an issue. I need to keep an eye on 2 chat windows where I'm usually just watching people talk.
I created 2 "google-chrome --app=http://uol" windows, so they open nicely not using much space (ie, like an app).
Since I mostly work with a browser and/or a terminal, the behavior I think would be interesting would probably involve having a single tab with "chat windows on 20% of the screen" and "browser and/or terminal sharing the rest of the screen".
I tried to do something similar to that using tabs, but it doesn't work well (focus issues when switching tabs, and hard to use browser AND terminal (like when I'm following a tutorial on a site and typing on the terminal)).
Does anyone have a suggestion on how I can accomplish that or something similar?
Thanks!
Don't know if I fully understand your question. But, I guess you're looking for what makes the essence of awesome WM: tiling !
On the screenshot below, you see a 'term' tag defined with something like this:
awful.tag.add("term", {
layout = awful.layout.suit.tile.left,
screen = s,
selected = true,
gap = 5,
gap_single_client = true
})
inside the awful.screen.connect_for_each_screen command.
IMHO, you can perform what you want using this and rules for your windows to be in that tag.
I hope it will help.

Magnolia CMS "jumping cursor"

when in the Magnolia UI a click/double click on a node provokes a redraw of the UI. That wouldn't be bad if after the click the focus would still be the same but instead your are being thrown to a random node as the focus. Its frustrating to work with because with a big structure like we have, for every click you need to scroll and look again for the node you want to work with.
I googled extensively but have found no clue how to fix this behaviour.
It happens in Chrome 56.0.2924.87 as well as in Firefox 52.0.2 (64-Bit)
Any idea would be welcomed, this is really annoying.
Best wishes,
Chris
I assume you hit to https://jira.magnolia-cms.com/browse/MGNLUI-4084,
this has been fixed since 5.5.2. Please try to update and see if that works for you.
If unfortunately that's not the case, please feel free to report it to Magnolia.
Cheers,

I don't want to display back and forward button in my browser. Is there any solution apart from popup trick?

customers does not want to allow user to use back or forward button. Just a clean page without commandbar and toolbar, same for FF an IE.
Disabling them is not an option as now.
You cannot change that kind of thing in a existing window -- the only way you can make those disappear is by opening a popup, specifying they should not appear in that popup when it's being opened.
Still, note that you should not try to disable those buttons nor have them disappear : your application should work fine with them, handle their actions -- after all, it's one of the few things users have understood in browsers...
And as a user, this is disturbing and annoying :
I don't like popup windows -- and I'm not the only one who doesn't
I don't like when a website tryies to take control over my browser
It will not always work anyway.
And, as a sidenote : even if the back/forward buttons are not displayed, users can still use Ctrl+left/right or some kind of equivalent !
I know this is not easy, but a part of your work as a web-developper is to explain your clients how Internet and web-applications work... not the same way as desktop applications !
If you can force your users into IE (can't believe I'm suggesting use of IE!) you can do this trick. Try running this from the command line
"C:\Program Files\Internet Explorer\iexplore.exe" -k
This will force IE into kiosk (or full screen mode), similar to pressing F11 when in a usual browser session.
PS. I agree with the other answers suggesting this should be discouraged but there are instances (such as when the end user really can't be trusted) that this is a good solution.
No, there's no other way.
However, this is extremely annoying behavior and should be greatly discouraged. This isn't a code issue to solve...this is behavior that shouldn't be implemented at all.
My opinion here, you have a client problem not a code problem. Whatever standard is the expectation, and the user has the expectation of having their back/forward buttons, break that and you break their experience.
Ever see a Windows application that removes the taskbar? That's the equivalent...
I don't think there is a reasonable way to disable the behavior. You may get rid of the buttons in various ways, but the behavior is still there (through keyboard commands, popup menus and so on).
The only reasonable way is to make your web application follow web semantics, and make the client realize this.
many web based ERP (for example) does not tolerate people using navigation buttons. BUT these web applications handle the fact people use these buttons and do not crash. That's what you should do. If each time people use the back button, they get an error message, they will quickly stop using it.
The solution that used to work in IE was adding a startup script with one line:
location.forward();

Can't paste into web form

A user complains they can't paste into one particular text box on a form and that this is a change in behavior that occurred three months ago. I can't reproduce the error. I've tried long text, short text, plain text, formatted text, everything works. I did fix some poorly formatted HTML, but it didn't change their problem.
The user and I are both using XP/IE7. The application uses a proprietary MVC framework with C# on .NET 1.1. The UI only works reliably in IE. (I tried Opera and the paste works, I can't get logged in with Firefox to get to the screen.)
Any ideas where to start?
Thanks!
Edit - here's dialog I had with the user that didn't bring to light any issues.
You were actually on the right track
in asking about the firewall, because
you are trying to identify something
that is different between me and you.
Here's some other potential
differences.
Maybe we aren't doing it the same way:
Do you use keyboard shortcuts (Ctrl-C,
Ctrl V) or the context menu (right
mouse click and select copy/paste)?
Maybe our computers are different:
What hardware (Windows/Mac), operating
system (XP, Vista, etc.), and browser
(IE, Firefox, etc.) are you using?
Maybe our understanding of the problem
is different: Do you not see the text
when you paste it in, or is it not
being saved?
Maybe what we are copying from is
different: I copied something from
Bugzilla and something from notepad.
Both are plain text. I need to try
formatted text, like from a PDF and
from Word. You need to try plain text.
This may be actually a user training issue. If it were me, I'd use something like crossloop to watch the user interact with the page. If you can see what they are actually doing (not what they SAY they are doing) then you have half a chance at reproduction of the issue. Based on your description, it is very likely not an issue with the software, but a PEBKAC situation with your user.
Notes on Crossloop
We use crossloop with our clients and our developers in training. Basically you install the software (very easy) on both your computer and the end user's computer. The end user then authorizes you to "see" his machine by sending you a connection code. Once connected, both you and the user can move the mouse/type/see the other person use the mouse.
It would be like a remote desktop or vnc session, but much easier to get up and running across firewalls and without too much setup/config headache.
It is also a free download, and a free service (the last time i used it anyway).
Suggested course of action
Install Crossloop on your machine and familiarize yourself with it. (maybe do a trial run connect with a co-worker)
Call user and ask if they would be willing to show their issue to you directly via some screen sharing software.
Walk them through the install and connect of Crossloop.
Instruct them to show you the issue.
Watch for glaring errors, etc.
Hopefully see either what the user is doing wrong, or what conditions the bug manifests itself.

Resources