[haiku-bugs] Re: [Haiku] #14465: Print preview driver not visible in Twitcher

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Mon, 10 Sep 2018 06:22:59 -0000

#14465: Print preview driver not visible in Twitcher
------------------------------------+----------------------------
   Reporter:  irtusb                |      Owner:  jscipione
       Type:  enhancement           |     Status:  new
   Priority:  normal                |  Milestone:  Unscheduled
  Component:  Applications/Deskbar  |    Version:  R1/Development
 Resolution:                        |   Keywords:
 Blocked By:                        |   Blocking:
Has a Patch:  0                     |   Platform:  All
------------------------------------+----------------------------
Changes (by humdinger):

 * owner:  phoudoin => jscipione
 * component:  Printing => Applications/Deskbar
 * type:  bug => enhancement


Comment:

 Twitcher is part of the Deskbar (curiously...). I marked this as
 "enhancement" rather than "bug" as I assume this is how BeOS handled those
 windows, too.

 The issue seems to be that windows of type B_MODAL_WINDOW and similar are
 skipped in Twitcher, see
 [http://xref.plausible.coop/source/xref/haiku/src/apps/deskbar/Switcher.cpp#289
 Switcher.cpp#289]. _STD_W_TYPE_ is set to "0", which corresponds to
 B_NORMAL_WINDOW_FEEL, see
 [http://xref.plausible.coop/source/xref/haiku/headers/os/interface/Window.h#46
 Window.h#46].

 Consulting BeBook's chapter on  [https://www.haiku-os.org/legacy-
 docs/bebook/BWindow.html#BWindow_window_feel BWindow look and feel],
 B_MODAL_WINDOW and  B_FLOATING_WINDOW don't have that B_NORMAL_WINDOW_FEEL
 and are therefore skipped by Twitcher (and the Deskbar entries in general,
 too, it seems).

 Now, should this behaviour be changed? Show all windows, no matter their
 'feel' appear in Twitcher and Deskbar's running apps? I don't know... I'd
 probably have to try living with that change for a while to form an
 opinion on that.\\
 It's not that I have missed those windows so far, though I rarely use
 Twitcher and didn't notice the missing Deskbar entries.

 Question is, shouldn't the "Page setup" window in this example be floating
 over its parent, seeing as it's blocking the Printers window anyway? Then
 it couldn't get lost when e.g. sent to back.

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/14465#comment:1>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: