Remove entered and left rows in chatrooms in pidgin - xmpp

How do i remove "entered" and "left" rows in chatrooms in pidgin?
xx left the room (Disconnected: closed).
xx entered the room.

The Join/Part Hiding plugin included with pidgin does this.

Ctrl+U to open the Plugin list.
Scroll down to 'Join/Part Hiding'. Check the box and configure the plugin.
I set it to hide those messages in a room over the size of 2.

Related

Ag-grid enterprise: possibility to deselect cells in rangeselection via user interaction

I am currently using the Ag-grid enterprise angular version 20.2.0 in a project and we cannot find an option to deselect already selected cells during the range selection. In addition to that, I cannot find any information about that option in the given doc. https://www.ag-grid.com/javascript-grid-range-selection/.
Is there any possibility to deselect cells with ctrl and another key or do I have to create a feature request, so that they may implement that?
Just as further information, we use the api.getRangeSelections() to process and visualize the given values in a custom status bar component. We expect that customers demand to exclude unexpected data instead of deselecting everything and restart from scratch.
Thank you in advance for your assistance :)
Very good question. After a quick research on the doc, I can recommend you to enable advance range selection, and prompt users that they can exclude their selection only if they go around the cells they want not to select.
For example:
Here above, I selected cells with 'advance range select' ( CTRL + selection ) and remained a cell none-selected. Before I start to select with range, I figure it out which one I am not going to select, so it becomes easier to manage cells to be none-selected.
Go and experience yourself with this link: https://www.ag-grid.com/javascript-grid/range-selection/#example-range-selection-advanced

VisualStudioCode - how to enable current cursor position

How do I enable this view? To show current cursor position (line, column) and number of selected characters? I think I've checked all possible values in the settings, yet I still do not know where to find it.
If you don't see the position and selection count, it is probably the case that you have too much items in the status bar. Disable the ones are not relevant to you by right clicking on the status bar:
Also if you don't use your entire screen width, they also disappear if there isn't enough real-estate. Unfortunately I don't think there is a way to set priority to the items.
Please follow these steps
View -> Appearance -> Show Status Bar
It looks like the functionality you ask about was added quite recently. Here it is said that "line number and column number are shown in version 1.46, May 2020. On selection, they disappear."

Changing a timeline tracks height in Unity to save space

The tracks in my timeline are massive. If I max out the window on my 15" macbook I can see 9 tracks in total. Is it possible to change their height somehow?
I feel like this should be possible as I've seen screenshots where they are a lot smaller, but nothing I do seems to work. Zooming only works on x-axis and there doesn't seem to be any scale handles at the edge of the tracks...
Use Crtl + mousewheel to change height of track...
I just ran into this problem, too. Although there seems to have no direct way to change the track height, I found a way modify the preference file of Timeline editor.
Find a file located under your project's Library/Timeline folder (its name should be xxxxx.pref), open it with a text editor, change the number after trackScale to 1, and you should be fine.
Screenshot: Timeline preference screenshot, the left one has trackScale of 1, whether the right one has trackScale of 3.79
You can scroll through using mouse wheel.
Last time I checked, the height was not changeable. You may have seen Track Group.
Also, a good idea is to group the tracks. To add a Track group, click the Add button and select Track Group from the Add menu. You can also Right-click an empty area of the Track list and select Track Group from the context menu.
More about this: https://docs.unity3d.com/Manual/TimelineOrganizingTrackGroups.html

When using a browser in my progress application the scroll bars never work correctly

When using a browser in my progress application the scroll bars never work correctly. It will show that I can only scroll down a little but then keeping going. Is this a bug in progress or is there something I can do to fix this problem?
define query browse-4 for customer.
DEFINE BROWSE BROWSE-4
QUERY BROWSE-4 NO-LOCK DISPLAY
custNum name
/* ENABLE name */
WITH NO-ROW-MARKERS SEPARATORS SIZE 32 BY 6.46 FIT-LAST-COLUMN.
.
open query browse-4 preselect each customer no-lock.
enable browse-4.
wait-for window-close of current-window.
You can adjust the MAX-DATA-GUESS property for the browse. You can get the value from NUM-RESULTS after the preselect query has been opened. Or you can set it to a suitable guesstimate without using preselect.
Keep in mind that using preselect causes every record to be read instead of just enough to fill the first browse window. That is potentially a lot of extra DB reads and network traffic just to get the scrollbars correct.
You may be confusing the scrollbar on the containing frame with the scrolling of the browse.
Do you see two boxes outlining the browse? If you add "with no-box" to your "enable" does the scrollbar that is bothering you go away?
If it does then the problem is that your containing frame (which is the default un-named frame because you have not specified a frame phrase with the ENABLE) is smaller than the browse viewport. So you are seeing a scrollbar on the FRAME, not on the BROWSE, that is trying to tell you that you can scroll the frame up and down to see the complete viewport of the browse. The browse may also scroll within that containing frame depending on how much data there is.
If you are running this code in a character (Unix) environment you should also be aware that many GUI features of the BROWSE are not available. Especially anything related to appearance. Like scrollbars.
This is a known "feature" of Openedge GUI, unfortunately.
The position of the slider on the right of the browse is not directly related to the number of records in the query, but to the "Max Data Guess" property of the browse.
You can set this value yourself in the property dialogue for the browse widget (it's just below the "query" editor, in v10 at least).
Just set it to a really big number (say 10,000) and the browse will behave as it should.
the main problem for my question is mainly ,i am deleting temptable before completing the excecution,that is the main reason for the vertical-scrollbar is not working,after eleminating this temp-table deletion statements .automatically vertical-scrollbar is working.
for each ttdummy:
delete ttdummy.
end.

How to add tooltip entries for items in Eclipse SWT combo

The exact already asked question to what I'd like to do is: how to add tooltip on the entries and not the combo....
I cannot use a CCombo. JoeYo said that he solved it by using a DefaultToolTip class on the Combo, but he didn't elaborate.
Can anyone, (#JoeYo hopefully) give me a bit more detail how to got the handle on the list, once dropped, to capture the mouse hover events, and then of course display the tool tip?
If I was supposed to ask for more info on the original question, I could not figure out how. I tried to comment, but was told I did not have enough credits.
DefaultToolTip is part of JFace. Other than the native tooltip of the platform, it can be freely positioned and shown/hidden. Internally it is comprised of a Shell that when shown stays on top of all other controls.
In combination with a MouseListener, the getVisibleItemCount() and getItemHeight you might be able to compute above which item (if any) the mouse cursor hovers and show a tooltip with suitable content.
This answer has a snippet that computes which item of a List widget is under the mouse pointer. It should be possible to adapt it for the Combo widget. The remaining difficulty is probably to figure out the of the drop-down and the gap between of the Combo and its drop-down.