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

ConEmu opens always original process - problem with wrapping #277

Closed
trzecieu opened this issue Aug 18, 2015 · 13 comments
Closed

ConEmu opens always original process - problem with wrapping #277

trzecieu opened this issue Aug 18, 2015 · 13 comments

Comments

@trzecieu
Copy link

Hi!
I would like to ask about 8c4dbfa (perhaps some other form v15.07.16...master )
After this version in task bar I see always origin process of conemu instead process of Cmder (I use this wrapper in day by day work )

I believe that fighting with software like cmder is not accurate because everybody knows that conemu is the main application thus I believe that it was not your intention.

Will it be possible to make software like cmder work with conemu like it used to worked?

@trzecieu trzecieu changed the title ConEmu opens always original bin, problem with wrapping ConEmu opens always original process - problem with wrapping Aug 18, 2015
@Maximus5
Copy link
Owner

  1. Your question is not clear. Without exact explanation of your problem (with screenshots most probably) nobody can answer you.
  2. ConEmu do not fight with cmder at all.

@trzecieu
Copy link
Author

Steps to reproduce:

  • download cmder (portable version: https://github.com/bliker/cmder/releases/tag/v1.2 / cmder.7z)
  • unpack to some folder
  • pin to taskbar by moving Cmder.exe onto window start bar
  • run (by click on pinned link, or directly on program. Do not do auto update.
  • // everything is OK, only one icon of cmder / conemu is available
  • replace content of folder vendor/conemu-maximus5 with conemu at least 150716
  • run cmder by click on created link, or directly
  • in taskbar you will see two icons. One belongs to cmder link, other is conemu process (with icon of cmder). Pinning newly created icon to taskbar will create direct link to conemu.exe.

Before 150716:
(conemu process will be under cmder icon)
2015-08-18_22-20-58

After 150716:
(conemu will create new process (icon on taskbar) not related with cmder)
2015-08-18_22-24-07

Hopefully this explains a little bit problem.

@Maximus5
Copy link
Owner

That is because of weird architecture selected by cmder. WHY it stores xml file in place which ConEmu do not support by default? I have no idea. Ask cmder author to eliminate -loadcfgfile switch. It's not a ConEmu problem!

And obviously, mentioned commit does not relate to your problem at all.

@trzecieu
Copy link
Author

I see, sorry for confusing. I investigated problem first and I found that problem exists only with specific version of conemu. That's why I deduced it could be new (unwanted) behaviour.

@Maximus5
Copy link
Owner

BTW, you aren't right saying "everybody knows that ConEmu is main application".
In fact, there are reports that user realizes this fact only when they accidentally execute ConEmu.exe itself.

Anyway, regardless of some displeasure of hiding ConEmu name and icon (yep, I'm aware of forks and derivatives, and they are not restricted by license), ConEmu has nothing in its code to fight with cmder. On the other hand, I'm not going to provide additional code to support cmder, because all required abilities are implemented already.

@trzecieu
Copy link
Author

I understand perfectly you statement. You did amazing job for conemu and I appreciate this. Thank you for clarification.

@Maximus5
Copy link
Owner

Few more statements.

  1. Placing xml file in the unusual location restricts or limits users from
    • using "ConEmu here" feature;
    • using "DefTerm" feature.
  2. cmder.exe (at least last time I checked it) do not pass rest of command line to ConEmu.exe. This restricts users from running some specific command at once.

I believe that has to be fixed, don't you?

@Stanzilla
Copy link

What would be the correct way to ship a config file then? Replace the xml in the vendor dir probably?

@Maximus5
Copy link
Owner

@Stanzilla
Copy link

Ok but you said -loadcfgfile is a problem, yet the docs say it's fine?

@Maximus5
Copy link
Owner

It's fine. Really. Unless you start ConEmu from wrapper pinned to TaskBar.
What? ConEmu must not know anything about them.
And they still may be used if you pin proper shortcut. So that is not an issue at all.

@Stanzilla
Copy link

I guess the problem is that people pin the cmder launcher then?

@Maximus5
Copy link
Owner

Certanly. But ConEmu docs do not promote third-party bundles, at least yet. That's why there are no warnings about cmder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants