Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-startintray corrupts main window #512

Closed
sojusnik opened this issue Feb 21, 2015 · 14 comments
Closed

-startintray corrupts main window #512

sojusnik opened this issue Feb 21, 2015 · 14 comments

Comments

@sojusnik
Copy link

My aim is to launch Telegram minimized in the system tray (especially at startup), so therefore I launch it with

[directory]/Telegram -startintray

, but the content of the main window gets transparent (at system startup the window stays black), like shown in this video: https://mega.co.nz/#!btA0nShK!XDv9-T3Y27xlfmvWNNILxfoBYB6-wWa61mwhP8NWpbU

This video shows the black main window after a system startup: https://mega.co.nz/#!CgwlgJgJ!HChH7BhLdw1liUuWUaWFAxECU6uGkRtuuJ6SeT_VV2Q

Observed under Ubuntu Gnome 14.10 with Telegram 0.7.17.

@bbuhler
Copy link

bbuhler commented Aug 7, 2015

I am running into the same issue. Please fix that.

tdesktop-startintray-transparent

Elementary OS Freya 0.3 (based on Ubuntu 14.04)

@ghost
Copy link

ghost commented Mar 25, 2016

Seems to be seen as unimportant. My issue was just closed.
I knew that it was a request about a topic which had other open issues, but I never found an answer why it's not fixed yet. Is my workaround idea: #1820 not possible or just unwanted?

@ghost
Copy link

ghost commented Mar 26, 2016

I fixed this on elementary OS the dirty way:

  1. install wmctr
  2. create a minimize.sh file with this content:
    wmctrl -c Telegram sleep 0.1 wmctrl -c Telegram sleep 0.1 wmctrl -c Telegram sleep 0.1 wmctrl -c Telegram sleep 0.1 wmctrl -c Telegram sleep 0.1 wmctrl -c Telegram sleep 0.1 wmctrl -c Telegram sleep 0.1 wmctrl -c Telegram sleep 0.1 wmctrl -c Telegram sleep 0.1 wmctrl -c Telegram sleep 0.1 wmctrl -c Telegram sleep 0.1 wmctrl -c Telegram sleep 0.1 wmctrl -c Telegram
  3. Let it autostart after telegram (without -startintray parameter!)
    command is: " sh /home/....your_folder..../minimize.sh "

If it doesn't work for you try using these autostartnames (seems to be sth with alphabetical oder):
screenshot
(z is the sh script)

@nervgh
Copy link

nervgh commented May 20, 2016

Same problem in Ubuntu 15.10

Seems to be seen as unimportant

I think we need more votes for this issue 💥

@thenets
Copy link

thenets commented May 20, 2016

I have the same problem :/
I'm using elementaryOS,

@fmmarzoa
Copy link

fmmarzoa commented Aug 6, 2016

I am not sure if it is the same problem, but I have reached this through another bug that describes what it is happening to me too: in Ubuntu 16.04 it starts in the tray as expected, but if you click on the tray icon nothing happens. You have to click with the right mouse button and click on "Minimize to try" once so the "Open Telegram option" starts working as expected, otherwise no Telegram messages window will be shown.

Version 0.10.1 here.

@roberfi
Copy link

roberfi commented Sep 28, 2016

I have experimented the same issue on elementayOS. Altough it seems a secondary problem, it's really annoying for me.

@wirthual
Copy link

wirthual commented Oct 20, 2016

Im using Ubutu 16.04 with Unity and experience same odd behaviour than @fmmarzoa. Any updates about this topic? Version 0.10.11

@ghost
Copy link

ghost commented Jan 10, 2017

Haha guys if you really want to fix it... seems like you need to use my "method"
I admit its pretty bad, but can it really be called stupid if it works? ;)

@Aokromes
Copy link
Collaborator

Aokromes commented Oct 2, 2017

#422 ?

@jandrioli
Copy link

This main window corruption is still hapening in ubuntu 16.04. It's been 3 years !

@Aokromes
Copy link
Collaborator

this bug is still valid?

@jandrioli
Copy link

jandrioli commented Jan 27, 2020 via email

@github-actions
Copy link

github-actions bot commented Mar 5, 2021

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

10 participants