Modify

Opened 5 years ago

Last modified 5 years ago

#17850 new enhancement

macos: add a way to shade [image] windows

Reported by: richlv Owned by: team
Priority: normal Milestone:
Component: Core Version: tested
Keywords: macos window Cc:

Description

On Linux, desktop environment support for window shading comes handy, especially when using single display. It allows to work on data, and shade/unshade detached Mapillary or Geotagged image windows.

Unfortunately, MacOS reportedly has removed native shading support - https://en.wikipedia.org/wiki/WindowShade .

It would be great if JOSM image windows (and perhaps other windows?) would have a support for shading or something functional equivalent of making the window take up very little space, while staying onscreen.

I couldn't find anything obvious that Java might offer, but perhaps a button is possible that changes window size between "shaded" and "previous"?
The geotagged image window has a control in the lower right corner which allows to resize / dock it.
Resizing either image window allows to reduce it to titlebar only, but manually dragging to change window size is far from convenient.

Attachments (0)

Change History (8)

comment:1 by Don-vip, 5 years ago

Owner: changed from team to richlv
Status: newneedinfo

I don't know macOS and I have no idea what you're talking about. Can you please share before/after screenshots to show how the removal of this feature affect JOSM? Thanks.

comment:2 by Don-vip, 5 years ago

Keywords: macos added

comment:3 by richlv, 5 years ago

The main problem is that the feature is missing - it was apparently removed quite some time ago, and haven't had a chance to see it in action on MacOS.

The functionality, borrowing from the KDE documentation at https://docs.kde.org/trunk5/en/kde-workspace/kcontrol/windowbehaviour/index.html , allows to:

"Shade, on the other hand, causes the window to be reduced to simply the titlebar. Double clicking on the titlebar again, restores the window to its normal size."

If this was added to the JOSM image windows, perhaps it would be a button on the titlebar (if possible) that would resize that window between two states - as small as possible vertically (titlebar only, in the best case) and the previous size.

comment:4 by Don-vip, 5 years ago

Keywords: window added
Owner: changed from richlv to team
Status: needinfonew

OK understood. I didn't know the term for this behaviour. It's pretty standard on Windows too, didn't know that macOS removed this feature. I'm not going to lie to you there is very little chance to see this implemented in JOSM as it would be only for macOS, and no one in the team uses a Mac.

comment:5 by richlv, 5 years ago

Understood, thank you for looking into this.
I tried to use JOSM for a long time in VirtualBox-ed Linux, but that's just way too slow (video acceleration seems to be missing).
If somebody adds this feature, I'd be very glad to test it.

in reply to:  4 ; comment:6 by Klumbumbus, 5 years ago

Replying to Don-vip:

It's pretty standard on Windows too

You can reduce a window in Windows to its titlebar??

in reply to:  6 comment:7 by Don-vip, 5 years ago

Replying to Klumbumbus:

Replying to Don-vip:

It's pretty standard on Windows too

You can reduce a window in Windows to its titlebar??

Almost. You can resize a window to a very small size and toggle between this size and full screen by double clicking the title bar. But I don't see the point to reduce a window just to a title bar.

comment:8 by richlv, 5 years ago

To clarify for the usecasee on window shading (especially as implemented by default in KDE), I find it extremely helpful when using JOSM. I can have geotagged photo and Mapillary windows floating above the main JOSM window, and easily access/hide them by double-clicking the titlebar.

This makes them take up very little space, when expanded they do not push around any other elements, and they stay the exact same size (as opposed to manually dragging a window to resize it - which is also crazily inefficient).

When working like that, those windows can be as small or large as screen allows. As I can expand them only as needed, I can easily choose whether I want that window to mostly cover the sidebar (thus allowing to use the edit area with the image visible), or whether they cover the whole application (if I want to see a lot of image detail briefly).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to richlv.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.