Opened 10 years ago

Closed 10 years ago

#27081 closed defect (fixed)

mkvtoolnix: Can't get focus in mmg (the mkvtoolnix GUI)

Reported by: jds6p6h02@… Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: haspatch Cc:
Port: mkvtoolnix

Description

Hi i have successfully compile mmg (the mkvtoolnix GUI) with the wxwidgets variant but when i launch mmg i see the window but i can get focus (i can't use the interface at all).

Do you have a solution for this problem ?

Attachments (1)

mkvtoolnix-mmg-fix.patch (1.6 KB) - added by ruud@… 10 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 10 years ago by jds6p6h02@…

Cc: jds6p6h02@… added

Cc Me!

comment:2 Changed 10 years ago by ryandesign (Ryan Schmidt)

Cc: jds6p6h02@… removed
Owner: changed from macports-tickets@… to ruud@…
Summary: Can't get focus in mmg (the mkvtoolnix GUI)mkvtoolnix: Can't get focus in mmg (the mkvtoolnix GUI)

I see the same thing. Reassigning to maintainer.

comment:3 Changed 10 years ago by ruud@…

Together with the developer I've found a solution to this problem. I'm currently in the process off creating a patch as a hot-fix.

Changed 10 years ago by ruud@…

Attachment: mkvtoolnix-mmg-fix.patch added

comment:4 Changed 10 years ago by ruud@…

The attached patch is a work-around for this problem. According to wxWidgets the preferred method is to create a bundle instead; what does MacPorts prefer?

comment:5 in reply to:  4 Changed 10 years ago by ryandesign (Ryan Schmidt)

Keywords: haspatch added
Owner: changed from ruud@… to ryandesign@…
Status: newassigned

Replying to ruud@…:

According to wxWidgets the preferred method is to create a bundle instead; what does MacPorts prefer?

I don't think I understand the question so I can't directly answer. I am not a Mac application developer so I don't know how these things are usually done by developers. If by "bundle" you mean a .app in the Applications folder which contains the executable and support files, then yes, that is the preferred method of delivering Mac OS X GUI programs, but many programs distributed through MacPorts have GUIs that are accessible via a binary in /opt/local/bin. In cases where that's how the developer provided the software, the MacPorts portfile will often choose to provide a wrapper application in /Applications/MacPorts to make it easier to launch. For an example of this, you can look at our currently first port alphabetically, 2Pong. The .app generally contains nothing more than a symlink to the executable in /opt/local/bin. I don't know whether doing this would be of any assistance to mmg.

comment:6 Changed 10 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: assignedclosed

Committed this patch in r73128.

Note: See TracTickets for help on using tickets.