应用程序应该执行窗口管理相关的任务吗?
我最近对公司的一个应用程序进行了更改,由于 Qt 中的一个错误 (http ://bugreports.qt-project.org/browse/QTBUG-19207)我们要么需要推迟发布,直到诺基亚修复该问题,要么为 Mac 用户禁用全屏模式直到那时。
但这让我想知道 - 对于大多数应用程序来说真的有必要有全屏模式选项吗?显然,它非常适合某些应用程序,例如:
- 多媒体播放器(视频/音频)
- Web 浏览器
- Office 套件
但我并没有真正看到大多数其他应用程序(包括所讨论的应用程序)的意义。我还看到很多 Windows 应用程序添加了“始终位于顶部”菜单,这通常是不好的做法吗?在 Linux 上,KDE 和 Gnome 为您提供了此功能,并且它似乎确实应该在应用程序级别以下完成。
大多数应用程序真的应该进行自己的窗口管理吗?如果操作系统不提供该功能,该怎么办?
I was recently making changes to one of my company's applications, and due to a bug in Qt (http://bugreports.qt-project.org/browse/QTBUG-19207) we'll either need to postpone the release until Nokia fixes that issue, or disable fullscreen mode for Mac users until then.
But that got me wondering - is it really even necessary to have a fullscreen mode option for most applications? Obviously it's perfect for certain applications such as:
- Multimedia players (video/audio)
- Web browsers
- Office suites
But I don't really see the point for most other applications, including the one in question. I've also seen a good number of Windows applications add an "always on top" menu, is this bad practice in general? On Linux, KDE and Gnome provide this for you and it does seem like something that should be done below the application level.
Should most applications really do any of their own window management at all? If the OS doesn't provide the functionality, what should be done?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在大多数情况下,它们不应该,除非应用程序是您所说的浏览器、CAD、编辑器(paintshop、maya、max 等)。
以下是相关答案:如何使.Net中的窗口始终保持在顶部?
直接访问最顶层窗口的点[Raymond Chen]: http://blogs.msdn.com/b/oldnewthing/archive/2005/06/07/426294.aspx
In most of the cases they should not, unless the application is as you say browser, CAD, editor (paintshop, maya, max, etc.)
Here is a related answer: How to make a window always stay on top in .Net?
Directly to the point of top-most windows [Raymond Chen]: http://blogs.msdn.com/b/oldnewthing/archive/2005/06/07/426294.aspx