KDIALOG POPUP TITLE

Hi! I’m new posting topics, reporting bugs and all that stuff. To do it more difficult English is not my language.
I found what I think is minor bug with kdialog --title TITLE --passivepopup “A message here” 5. The problem is with the TITLE, it should be at the title bar but, it appears as part of the message.
It can be seeing even in Shell scripting with KDE dialogs | Developer where other message boxes the title is on the right place.
Thanks.

hi, welcome.

i think for the popup they --title is being used to give you a heading in the text message.

otherwise there would be no other formatting within the popup.

or to think of it another way, the popup technically has no title bar because it’s a popup from kdialog

As notify-send behaves the same as kdialog that would rather be a KNotification issue but, as skyfishgo mentioned, on a notification popup the “Title” supposed to be the Header of the message while the name of the application that send the notification is shown in its “Title bar”.

Some could argue that kdialog (or notify-send) is not really the application/script that send the popup just a tool to do so.
On the other hand IMO there would be a greater risk of getting spoofed notifications if that could modified that easily, wouldn’t it?

notify-send lets you change the name of the application using the -a option.

kdialog does not have a comparable feature.

it could be argued that kdialog should keep --title to modify only the “title bar” area and provide and additional parameter for the --passivepopup that would allow for a header, just as notify-send does.

for instance:
--passivepopup <summary> <text> <timeout>

but that could break existing scripts where the first parameter is expected to be the <text> of the message.

i think if you need to change the “kdialog” at the top of the popup, then use notify-send instead of kdialog.

Not a bug, a feature request then, and or using notify-send as a workaround.

(Not sure if I would like that for the reason I mentioned in my last post, though.)

OK. Thanks, for me is quite well. Just found a little odd that in other message boxes --title flag change the “title bar”. I want to know if I should report it as a bug. Now I know. :ok_hand: