Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google      Sign In   
  • Create Account

[Suggestion] Integrate WINE system tray to OS X Menu bar


  • Please log in to reply
11 replies to this topic

#1 PommeGolden

PommeGolden

    Rookie Porter

  • Members
  • PipPipPipPip
  • 183 posts

Posted 09 October 2011 - 08:19 AM

Posted Image

Uploaded with ImageShack.us

instead of popping up a small separate wine window :)  :)  :)

#2 doh123

doh123

    Wineskin Developer

  • Members
  • 3,989 posts
  • LocationOver here
  • Graphics Card:Geforce GT 650M, Intel HD 4000, Radeon 6750, Intel HD 3000, Geforce 320m (in 3 machines)
  • Operating System:Mac OS X 10.8 (Mountain Lion)
  • I like to play:RPG and Strategy

Posted 09 October 2011 - 08:51 AM

That would be nice... but that is a Wine issue... its not really something a X11 program can do as far as I know, and its definitely not implemented in Wine.  It would be easy if Wine was using a Quartz driver and not X11, but this is not something I can implement in Wineskin without some major changes to Wine... unless someone else can think of a way.

#3 Tetsu

Tetsu

    Champion Member

  • Donators
  • 597 posts
  • LocationCyberspace
  • Graphics Card:NVIDIA GTX 680MX 2GB
  • Operating System:Mac OS X 10.8 (Mountain Lion)
  • I like to play:First Person Shooters, Arcade Games, Adventure Games, Platformers, Puzzlers

Posted 09 October 2011 - 05:51 PM

As far as I know a quartz driver is something the main WINE team would have to implement first before it can be implemented in wineskin am I correct?
--Tetsuo
It's funny how the colors of the real world only seem really real when you viddy them on the screen.
-- Alex Delarge, A Clockwork Orange
Late 2012 27 inch iMac, Core i7 Quad 3.4GHz, 16GB RAM, Nvidia GeForce GTX 680MX 2GB, 3TB Hard Drive

#4 doh123

doh123

    Wineskin Developer

  • Members
  • 3,989 posts
  • LocationOver here
  • Graphics Card:Geforce GT 650M, Intel HD 4000, Radeon 6750, Intel HD 3000, Geforce 320m (in 3 machines)
  • Operating System:Mac OS X 10.8 (Mountain Lion)
  • I like to play:RPG and Strategy

Posted 09 October 2011 - 06:41 PM

smoketetsu said:

As far as I know a quartz driver is something the main WINE team would have to implement first before it can be implemented in wineskin am I correct?
they could do it... or I could.. or anyone could implement a macquartz driver.  Doesn't matter who does it... but it'll have compatibility problems between it and X11... so it would still be best to have both options.

The problem here is that it is a very very hard job to do.  Even the preliminary stuff some people has worked on is a huge amount of very complicated code.  Its pretty much a more complex project than all of Wineskin is right now.

#5 Tetsu

Tetsu

    Champion Member

  • Donators
  • 597 posts
  • LocationCyberspace
  • Graphics Card:NVIDIA GTX 680MX 2GB
  • Operating System:Mac OS X 10.8 (Mountain Lion)
  • I like to play:First Person Shooters, Arcade Games, Adventure Games, Platformers, Puzzlers

Posted 09 October 2011 - 08:52 PM

Sure due to the open source nature anyone could given the proper requisite knowledge on how to do it. I myself can't code my way out of a paper bag. I even have a hard time getting eduke32 to compile properly on the Mac as it needs more than minor edits to some make files and then compile it... It's because it seems to me the builds the main devs release always seem to turn out better than mine much less if I where to code up something as big as a quartz driver for WINE.

Not everyone has coding as their forte\aptitude nor even the prerequisites for it. It's a fallacy for open source devs to assume everyone can just do it themselves or that they should be required to.

Although what I meant more is "You are waiting for them to implement it before you put it into wineskin as you would rather not do it yourself, right?" From what you are saying on how much work it'd be you don't want to do it yourself.

Also it'd probably have compatibility problems at first but it'd probably improve after being revised for a while just like WINE itself.
--Tetsuo
It's funny how the colors of the real world only seem really real when you viddy them on the screen.
-- Alex Delarge, A Clockwork Orange
Late 2012 27 inch iMac, Core i7 Quad 3.4GHz, 16GB RAM, Nvidia GeForce GTX 680MX 2GB, 3TB Hard Drive

#6 doh123

doh123

    Wineskin Developer

  • Members
  • 3,989 posts
  • LocationOver here
  • Graphics Card:Geforce GT 650M, Intel HD 4000, Radeon 6750, Intel HD 3000, Geforce 320m (in 3 machines)
  • Operating System:Mac OS X 10.8 (Mountain Lion)
  • I like to play:RPG and Strategy

Posted 10 October 2011 - 12:43 AM

smoketetsu said:

Although what I meant more is "You are waiting for them to implement it before you put it into wineskin as you would rather not do it yourself, right?" From what you are saying on how much work it'd be you don't want to do it yourself.

Also it'd probably have compatibility problems at first but it'd probably improve after being revised for a while just like WINE itself.
its not just about how difficult it may be.. its the fact that it is way beyond what I'd even have a clue how to start... if it was just difficult, I'd jump on it  :-)

#7 PommeGolden

PommeGolden

    Rookie Porter

  • Members
  • PipPipPipPip
  • 183 posts

Posted 10 October 2011 - 10:08 AM

i can imagine integrating Windows' menu bar to OS X's menu bar would even be 100X times more difficult hehe :D  :D  :D

#8 Tetsu

Tetsu

    Champion Member

  • Donators
  • 597 posts
  • LocationCyberspace
  • Graphics Card:NVIDIA GTX 680MX 2GB
  • Operating System:Mac OS X 10.8 (Mountain Lion)
  • I like to play:First Person Shooters, Arcade Games, Adventure Games, Platformers, Puzzlers

Posted 11 October 2011 - 03:53 AM

There's actually an application for windows that reads the menubar resources in many applications with standard menubars and displays it in a bar that you can configure to be anywhere on the screen you want such as the top to simulate a Mac desktop. The application is called objectbar.. I used to use it when I was a windows user. Unfortunately as with all things not all windows apps follow the same menubar standard so while on the one hand it's possible and it's even possible to intercept the window and hide the menubar while at the same time reading that menubar resource inside the app and display it elsewhere it wouldn't work with all apps that have menubars only some of them... mostly the older ones.

Here's an example screenshot of what I used to do in windows with objectbar: http://smoke999.devi...allery/#/d2y2v1

You might notice the ampersand underlines in the menubar though.. many menubars in windows have certain letters underlined using andpersands in the menubar resources and those would either need to be ignored when read by the function that would display them in the mac menubar or one would have to manually go into the .exe and edit the resource with a reshacker application to remove the & in front of the letters that are underlined.  

But then again WINE probably isn't getting that kind of function any time soon especially since the prerequisite would probably be the quartz driver which has yet to even come... and like I said.... it'd only work with some apps.

Most of the apps we use in WINE don't have menubars anyway though.
--Tetsuo
It's funny how the colors of the real world only seem really real when you viddy them on the screen.
-- Alex Delarge, A Clockwork Orange
Late 2012 27 inch iMac, Core i7 Quad 3.4GHz, 16GB RAM, Nvidia GeForce GTX 680MX 2GB, 3TB Hard Drive

#9 UnconventionalT

UnconventionalT

    Lurker

  • Members
  • 1 posts

Posted 22 November 2011 - 11:26 AM

In theory it wouldn't be all that difficult. It would essentially come down to implementing menu-bar integration inside of X11/XQuartz. However, the issue is development isn't focused on the area of keeping the X11/XQuartz problem alive, they are more focused in bringing all of the tools to the Mac natively, meaning using native system calls (instead of X11/XQuartz which essentially emulates the X desktop).

For example, another Linux application known as pidgin can be run natively, without X11/XQuartz AND includes system bar integration. (See system bar icon that doesn't look native.) This is a gtk effort, and not a wine specific one.

Posted Image

This could also be supported by Wine on Mac with a Quartz backend, like the one being developed here. http://wiki.winehq.o...SX/QuartzDriver However, the last changes made to that version were 3 years ago.

Long story short, I don't see it happening unless someone over at XQuartz decides to implement it. Or maybe it's already implemented (although I've NEVER seen ANY x application take advantage of it). Then it would be up to the wine developers to add some code to access the system tray calls in X11/XQuartz when running on a Mac.

#10 Battlefiler

Battlefiler

    Veteran Member

  • Forum Sub-Moderator
  • 423 posts
  • LocationGermany
  • Graphics Card:Intel HD Graphics 3000 (512mb)
  • Operating System:Mac OS X 10.7 (Lion)

Posted 03 December 2011 - 10:43 AM

it would be nice :) i dont like this window
Posted Image

#11 doh123

doh123

    Wineskin Developer

  • Members
  • 3,989 posts
  • LocationOver here
  • Graphics Card:Geforce GT 650M, Intel HD 4000, Radeon 6750, Intel HD 3000, Geforce 320m (in 3 machines)
  • Operating System:Mac OS X 10.8 (Mountain Lion)
  • I like to play:RPG and Strategy

Posted 03 December 2011 - 12:06 PM

Well a native quartz driver for Wine is actually a bigger project to implement than all of Wineskin currently is... its not even close to easy or Crossover would have had it long ago...  Even Crossover, with all the devs for it, still don't have anything like this.

If someone wants to write in a patch for xorg-server that includes something like this and show me how they did it, I'm sure I can get it integrated into WineskinX11.

#12 mknox

mknox

    Rookie Porter

  • Members
  • PipPipPipPip
  • 103 posts
  • LocationThe unfashionable end of the western spiral arm of the galaxy

Posted 26 January 2012 - 01:28 AM

i seem to remember i wrote a piece of objective-c code that did something similar to this a while ago...... (looks back at the GB's of code)
Posted Image




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users