notsecure / uTox

Lightweight Tox client
utox.org
GNU General Public License v3.0
598 stars 149 forks source link

Minimize to tray #169

Closed zetok closed 9 years ago

jf99 commented 10 years ago

This feature already exists. Just right-click on the tray icon and click "Hide". However, it would indeed be a good idea to have a "minimize to tray"-button somewhere near the minimize/maximize/close buttons.

A related feature would be good: Ask the user, whether he/she really wants to log off when he clicks the red X. Skype users are trained to use the red X as "minimize-to-tray". This "really sure?"-messagebox should be optional, however. Some users might get annoyed.

notsecure commented 10 years ago

@jf99 the Xlib version of uTox doesn't have this

nachfuellbar commented 10 years ago

I think jf99's idea with optional "use X to minimize to tray" is really good I'm using Skype for years and sometimes i click X when i wanted to minimize But maybe this should be an other issue

jf99 commented 10 years ago

Correct me, if i'm wrong. Xlib is the linux build, which doesn't run on windows, right?

notsecure commented 10 years ago

@jf99 yes, it is for systems that use the X Window System, which is mainly Linux

notsecure commented 10 years ago

@nachfuellbar The "X" button should always close the application, although an option to choose how you want the "X" button to behave is possible

nachfuellbar commented 10 years ago

@notsecure should i create an issue for this option? Or will you implement this definitely? I just saw Venom already has this option

aiboost commented 10 years ago

Yes, I think the must be an option how to use X icon. And I think that 99% of users will use "Minimize to tray instead of close", so I think this option must be a default. Also please add the same option and for "_" (minimize icon), and make it default. Also program must became minimized to tray after minimizig it on click on taskbar.

I just described standard behavior for windows programs which has tray feature.

aiboost commented 10 years ago

sometwo, We are programmers, it is our job to change default behavior. We need to make apps that are comfortable to use for users. It's the priority.

fcore117 commented 10 years ago

yes there are users who like close as close but i too prefer close to tray

nachfuellbar commented 10 years ago

@sometwo you said X means close. But close window or close application? I think nowadays close window is default on most instant messengers

jf99 commented 10 years ago

Quote from https://wiki.tox.im/Popular_Opinions: "PLEASE MAKE IT WHERE YOU CLICK THE 'X' IT CLOSES IT AND LOGS YOU THE FUCK OFF. (This has been said, and supported by at least 10 different people)"

Closing the app (not only the window) should be the default behaviour.

aiboost commented 10 years ago

@jf99 it is because now people hate this app ant quit from it is their the best use case :) When somebody uses the app he wants it to be like a service. See any other IM clients.

fcore117 commented 10 years ago

Best solution is: default click to close button closes and there it should be option to use close to tray. Problem solved and end of arguments.

CoenraadS commented 10 years ago

I agree, simply make X have configurable behavior, best of both worlds.

reyaz006 commented 10 years ago

Agree. Make an option to "Hide" on Close or on Minimize.

Fleshgrinder commented 10 years ago

Just installed the latest uTox (updater) version on Windows and it was the first feature that I and my girl friend were missing. So yes, we are programmers, we have to make applications ease to use. This is an important feature if you want to leave uTox running in the background while working.

reyaz006 commented 10 years ago

Just found out that you can left-click the tray icon to hide / show uTox.

dimgel commented 10 years ago
  1. No tray icon at all under gentoo/amd64 linux, pity. Until it's there, I'm forced to use Venom as "always online" and second uTox account as "for audio chats" (which don't work in Venom). So I second ticket's subj.
  2. All messengers I saw so far "close" their windows to tray. Same as Steam, BTW. Same as GoldenDict and I suspect same as anything that has tray icon. (UPD: Well, not anything: I just recalled Opera and MS Office but the usefulness of their tray icons is questionable since it's a visual and functional duplication of a task bar.) So if we programmers CAN change UI behaviour, it does not mean at all that neither we SHOULD change it nor we even KNOW how to change it for good. Before considering doing it "our own true way" one should read at least a couple of books on usability. For example, Steve Krug argues pretty good about usefulness of consistent UI layout and behaviour across web sites; same reasoning can be applied to applications.
tsudoko commented 10 years ago

All messengers I saw so far "close" their windows to tray. Same as Steam, BTW. Same as GoldenDict and I suspect same as anything that has tray icon.

Yes, but there are also people who are extremely annoyed by that behavior. It should be an option, I'm not sure what the default should be, but it should at least be possible to choose.

Serverkill commented 10 years ago

Hi! I have silently been keeping an eye on Tox development from beginning but it looks like I have to join discussion.

I'm one of these people who really misses possibility to close Tox to tray. As I see from this discussion, win-win situation is when user can choose behaviour under settings, please make option for close to tray behaviour. If you like program to close when hitting X, okey, it does that by default. If you would like program to close to tray when hitting X, then there is option for that. Simple and suitable for everyone :)

Fleshgrinder commented 10 years ago

You can close to tray right now via two ways:

Both are good ways to achieve it in terms of usability, but both aren't very intuitive for casual users. I therefor propose to minimize to tray upon click on the minimize button of the windows as well. The close button should by default close the application, but an option should be available to override the default close behavior and also close to tray.

That wouldn't affect the meaning of the close nor the minimize button and should provide the functionality everyone is expecting.

dimgel commented 10 years ago

It should be an option, I'm not sure what the default should be, but it should at least be possible to choose.

Agreed. Just now I have installed qBittorrent 3.0.11 and there are two checkboxes in its Settings: Minimize to systray, Close to systray. I believe this is ideal. (As an example of various situations and various user habits: initially I checked both, but later unchecked "Minimize to tray" because after "minimize all windows" followed by "restore all windows" qBittorrent didn't restore from tray icon, and after I restored it manually it lost its position on taskbar.)

Fleshgrinder commented 10 years ago

+1 I like the wording of both options and the fact that another project is doing it like that is also a strong reason to follow the same path.

nut-neek commented 10 years ago

+1 the program is not usable for me without minimize/close to tray functionality. It also would be very nice if left mouse click on the tray icon toggles minimize/maximize status of the utox.

ShedoSurashu commented 10 years ago

Add me to the list of people who want the minimize and close to tray options.

derblub commented 10 years ago

+1 also, on Arch Linux / Awesome WM, I'm missing the systray icon completely.

TaerNaguur commented 10 years ago

I am not part of this project, but I want to say my opinion. I don't want to say something bad or be rood... But this issue opened Jul 22. And all this endless "discussion". The is really nothing to discuss. It just must be implemented. It is so hard to do? I think it is matter of hour or two(if doing all right and all documentation etc. etc.). It is essential future that implemented in enormous amount of software in the same way. So what to discuss here? Just see like skype do it and do the same. I think that project don't have army of professional GUI designers and designers overall to invent brand new user interface.

Just do it. How long is it take to implement such a small future? It is don't worth all this discussion.

DanTheBritish commented 10 years ago

It is implemented for Windows, don't know if it has for Linux and Mac OS.

Also the developers have other things that are higher priorities, stuff that's not directly associated with UI/UX but to the code base, to make it easier to implement other things. One single feature cannot take priority over half-implemented ones.

zetok commented 10 years ago

@TaerNaguur if you want, you can pay developer to do it. I'm sure that if you will, feature will be quickly implemented.

Unless you pay for someone's time, please change your attitude.

derblub commented 10 years ago

@TaerNaguur feel free to put a bounty on this bug: bountysource.com

pitchforks commented 10 years ago

I came here because I miss the systray icon feature in Linux as well. I could go and blindly submit a new issue, instead I took time to search if such an issue already exists, to avoid redundancy, but I really don't like what I've read here. A feature request degenerated into ad hominem attacks.

Complaints about missing features can get annoying but there's some points to be realized here:

nut-neek commented 10 years ago

Take it easier, pithforks.

DanTheBritish commented 10 years ago

@nut-neek Whilst there haven't been many user-impacting commits lately, there has been work on the internal API to make such changes easier. notsecure is rather busy lately, so irungentoo has taken the lead on this for now, until notsecure had more free time.

Also if uTox wasn't in active development, then those commits you mentioned (Translations, cosmetic changes) wouldn't happen at all.

Progress is being made, however this is all being done in the spare time of people, with no financial pay-back. If you want to help develop Tox (not just uTox) more, then feel free to make a pull request, adding whatever feature you think is missing, or could be done better.

zetok commented 10 years ago

@pitchforks I pointed out to @TaerNaguur that his attitude is bad, and shouldn't be there unless people are paid to hear it.

So either he could change his attitude, or start paying people to hear it...

Feedback in form of "complains" may be good, but there's always some line that shouldn't be crossed.

There are ways to donate to Tox. In no way it is obligatory. In my opinion people who just demand something to be done since they know better should be asked to change their attitude or pay for developers' time.

If someone wanted to sponsor development of Tox, it would do more good than harm.

In what way users are expected to implement feature? I kinda don't get at what you're aiming here...

fcore117 commented 10 years ago

Everyone should be happy because Tox saves all of us from horror called Skype and there are no other easy to use and small IM software that is open source. Tox wants tiny GUI that works everywhere. When more developers come then features comes faster too. Currently i see that Tox changes face of communication in future. For now best wishes to current developes.

Enelar commented 9 years ago

I think we should hide on minimize icon.

gott3rfunk3n83 commented 9 years ago

There should be an option in settings where user can choose to minimize to tray on x button. Similar to what q tox implementing now.

ghost commented 9 years ago

A bounty for tray support under Ubuntu / Unity

Serverkill commented 9 years ago

Thanks for good news, well done ;) Hope too see same for autoaccept files!

GrayHatter commented 9 years ago

@Serverkill can you open an issue for that please?

calimeroteknik commented 9 years ago

Under X11, no icon at all appears in the systray. Is that normal? (Xorg 1.16.3 on Linux 3.18.5)

GrayHatter commented 9 years ago

@calimeroteknik uTox currently doesn't have any tray icon support for linux. It's on the todo list... eventually, promise.

gott3rfunk3n83 commented 9 years ago

Its fine now just switched to qtox.

calimeroteknik commented 9 years ago

@GrayHatter After a tiny search, I see there is a FreeDesktop standard for X11 and reference, so that's all good for Linux, *BSD, and others systems using X11. I'm trying to understand these…

GrayHatter commented 9 years ago

@calimeroteknik if you can find me example code in C/C++ that includes right click options I can get this working in X for ~unix.

edit: this is really close, and will allow me to get it working, but this would save me days of time (finals are coming)

shalnoff commented 9 years ago

Tray Icon doesn't appear and doesn't work in Mate (classic Gnome fork) as well as in LXDE. Standard window icon doesnt show as well. Please fix it. It's really annoying issue that makes uTox realy uncomfortable to use.

fcore117 commented 9 years ago

Linux has tray icon feature now suddenly? i have not seen it on my Ubuntu gnome-flashback?

calimeroteknik commented 9 years ago

@shalnoff don't be grumpy like that; this isn't a bug, it's that the feature is not implemented yet. If you feel like helping with it or paying somebody to do it, I'd also be delighted.

GrayHatter commented 9 years ago

I'm close to releasing some code for linux system tray. But before I do I wanted to find out what anyone thinks are the needs to haves and the nice to have features for the linux tray?