mIRC Homepage
Posted By: Glowball mIRC in Wine - 25/01/17 09:17 AM
Some time ago, around the release of mIRC 7 (2010), Khaled added workarounds so mIRC wouldn't crash in Wine. At the time, this was of course great! smile

However, we're years later, and I'm wondering whether those workarounds are still needed. They are in some cases detrimental for the user experience (reduced sound capabilities, no rich edit box...) and can better be removed.

Khaled, would you mind releasing a (non-official) version of mIRC without these workarounds? Even if pure Windows-mIRC still doesn't work properly in Wine, it will at least give us the chance to file bugs, and Wine devs the possibility to debug where it goes wrong. This way, Wine could further improve, and mIRC can one day drop its compatibility code.
Posted By: Khaled Re: mIRC in Wine - 27/01/17 11:13 AM
I could add a -nowine command line switch that would make mIRC run without Wine support. Would that help?

There are quite a few places where mIRC uses alternate code to avoid Wine issues, so unless they have been fixed in Wine, you will see some glitches.

Changes in mIRC to get around Wine issues:
ALT key show/hide menubar in full screen mode was not toggling menubar correctly - added alternate code
Windows were not updating when bitmap cache was enabled - disabled cache
Window listbox was not updating when switching between maximized windows - added alternate code
MDI scrollbar was being displayed even though turned off - added extra code to disable when visible
Minimized MDI icons were not being drawn - added extra code to draw old style icons
Minimized MDI icons cannot be hidden - added extra code to auto-arrange icons
Treebar display was not updating correctly - changed code
Received Files and Log Files items were not opening folders - add alternate code
Custom Return and Tab key handling in Script Editor editbox did not work - added alternate code
Toggling Line Numbers in Script Editor was not resetting margin - added extra code to redraw control
PlaySound() was crashing when SND_ALIAS_ID was used - add alternate code to use SND_ALIAS
PlaySound() was crashing when multiple sounds played and SND_NOSTOP was not used - added alternate code to use SND_NOSTOP
Playing sounds through mciSendString() was unreliable and resulted in freezes - add alternate code to use PlaySound()
Behaviour of richedit editboxes was unreliable - disabled richedit
Wine default browser bug - was opening wrong browser - added alternate code
Control+Minimize password dialog issue when ALT or Windows keys are used - added alternate code
Tools/Received Files menu item was not working under Wine - needed to remove slash at end of folder name
Different EM_GETLINE behaviour caused Shift-F3 search to crash - added alternate code

Issues unresolved so far:
When a menu contains two menu items with the same mnemonic character, Wine always chooses the first item even if it is grayed/disabled
ALT key show/hide menubar works incorrectly if user uses ALT+Tab to switch windows
Posted By: Glowball Re: mIRC in Wine - 27/01/17 12:26 PM
Do you mean you are keeping track of all issues yourself? In that case: cool, I didn't know that!

A -nowine switch would certainly be helpful and within the goal of this request, thanks smile
© mIRC Discussion Forums